Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] adding formatting #10

Closed
illyrius666 opened this issue Oct 5, 2024 · 2 comments
Closed

[FEATURE] adding formatting #10

illyrius666 opened this issue Oct 5, 2024 · 2 comments

Comments

@illyrius666
Copy link
Member

i noticed since using the vento template support that my code doesnt format. i pressume this is not a feature yet.

@oscarotero
Copy link
Collaborator

It's possible to format .vto using dprint (https://vento.js.org/formatter/)

and .vto files will be supported by deno fmt command in the next version (denoland/deno#25831).

If you want to keep your files with .html extension, you have to load instead of copy them, so they are processed by tailwind:

site.loadAssets([".html"]); // load .html files as assets.

@illyrius666
Copy link
Member Author

illyrius666 commented Oct 5, 2024

It's possible to format .vto using dprint (https://vento.js.org/formatter/)

and .vto files will be supported by deno fmt command in the next version (denoland/deno#25831).
i will wait for this
If you want to keep your files with .html extension, you have to load instead of copy them, so they are processed by tailwind:
i like vento more haha

site.loadAssets([".html"]); // load .html files as assets.

thank you for the quick explanation, this "issue" can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants