Skip to content
Discussion options

You must be logged in to vote

There is no way to include all Tailwind CSS classes for Nova because the default configuration is too big for production. Tailwind CSS's JIT engine also enables infinite possibilities for additional CSS classes. This is by design.

For classes that aren't used (and thereby included in our CSS output), it's recommended to manually place those classes in your CSS file or Vue component.

Some Nova users have found using this PostCSS plugin to avoid borking Nova's styles to be the best option for using Tailwind CSS, while avoiding the problems with duplicated classes and class prefixes other community-suggested methods have: https://github.com/lukeraymonddowning/uniquestyles

Replies: 23 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Radiergummi
Comment options

@davidhemphill
Comment options

@Radiergummi
Comment options

Answer selected by davidhemphill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #4061 on February 02, 2023 09:56.