Skip to content

Adding tailwind to only specific part of the app. #2443

Answered by paulpopus
BornaMarin asked this question in Help
Discussion options

You must be logged in to vote

Tailwind just provides you with a compiled CSS file on the output, you can then include that anywhere you want, it doesn't have to be included everywhere, just as you would with any CSS file or other assets.

Your automatic building with Nuxt (I assume webpack) will need to be modified so Tailwind will run in its own build step so you get a different CSS output.

Depends how complicated you want to make it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@devgauharnawab
Comment options

Answer selected by BornaMarin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants