-
Notifications
You must be signed in to change notification settings - Fork 184
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
Tailwind Viewer doesn't work in 4.0.0/4.0.1 #297
Comments
Update: @atinux: Would you generally advise against using nuxt with npm? I see in the nuxt docs that yarn is the "first class citizen" shown for the guides and I'm wondering if this is just a matter of taste or if you would advise me to run existing and new nuxt projects with yarn. |
Can you tell that when running |
Yes, then it works. 👍🏻 |
Version
@nuxtjs/tailwindcss: 4.0.1
nuxt: 2.15.3
node: 14.15.4
npm: 7.5.4
Reproduction Link
N/A
Steps to reproduce
Create a fresh Nuxt project with version 2.15.3 (I used
npm init nuxt-app nuxt-tailwind2-test
). Then follow steps from https://tailwindcss.nuxtjs.org/setup to install TailwindCSSWhat is Expected?
Running
npm run dev
should start the tailwind viewer at http://localhost:3000/_tailwind/What is actually happening?
I'm getting the error message
Cannot find module 'tailwindcss/resolveConfig'
when runningnpm run dev
. Tailwind CSS compilation and Nuxt dev server works though.The error doesn't appear if I set
viewer: false
for tailwind in the nuxt.config.jsThe text was updated successfully, but these errors were encountered: