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

Install Tailwind CSS with Nuxt.js #1424

Closed
lazercaveman opened this issue Nov 11, 2022 · 6 comments
Closed

Install Tailwind CSS with Nuxt.js #1424

lazercaveman opened this issue Nov 11, 2022 · 6 comments

Comments

@lazercaveman
Copy link

The way showed within the Tailwind docs, to implement Tailwind into a Nuxt project isn't valid for Nuxt 3 anymore, since Nuxt doesn't allow Nuxt 2 syntax within the nuxt.config anymore - this is leading to tailwindcss not working at all within Nuxt 3.

@reinink
Copy link
Member

reinink commented Nov 11, 2022

Hey thanks for reporting this!

So right now our Nuxt guide is for Nuxt 2, since it's still the default version that's installed when creating a new Nuxt project. When Nuxt 3 is officially out we'll upgrade this guide, but until then I think it makes sense to keep things the way the are.

Thanks for reporting either way — it's good for us to be aware of this 👍

@reinink reinink closed this as completed Nov 11, 2022
@lazercaveman
Copy link
Author

Alright, release date for Nuxt 3 will be in 5 days according to their release schedule. ^^

@reinink
Copy link
Member

reinink commented Nov 11, 2022

@lazercaveman Good to know! I'm actually working on adding a Nuxt 3 guide right now to include alongside the Nuxt 2 guide. I'll ping you when that's done, and maybe you can review it make sure I've done things correctly 😅

@lazercaveman
Copy link
Author

@reinink sound nice - happy if I can help somehow. ^^

@reinink
Copy link
Member

reinink commented Nov 11, 2022

@lazercaveman Hey thanks! Have a look at my PR (#1426) and let me know if anything looks incorrect. I'm not an avid Nuxt user, so I'm sort of just going off what I can find online.

Here's a direct link: https://tailwindcss-com-git-nuxt3-tailwindlabs.vercel.app/docs/guides/nuxtjs#3

@lazercaveman
Copy link
Author

@reinink that was fast! :D
...looks fine to me so far, and seems to work as well - thank you. : )

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