Tailwind Viewer doesn't work in 4.0.0/4.0.1
See original GitHub issueVersion
@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 TailwindCSS
What 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 running npm 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.js
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Issue - GitHub
Tailwind Viewer doesn't work in 4.0.0/4.0.1 #297 ... Tailwind CSS compilation and Nuxt dev server works though.
Read more >Tailwind CSS classes is not working in my project?
This error is due to tailwind not finding any classes to scan in what it 'thinks' is your HTML code directories.
Read more >tailwind-config-viewer - npm
Start using tailwind-config-viewer in your project by running `npm i tailwind-config-viewer`. There are 16 other projects in the npm ...
Read more >Content Configuration - Tailwind CSS
Configuring source paths. Tailwind CSS works by scanning all of your HTML, JavaScript components, and any other template files for class names, ...
Read more >How to use Tailwind CSS in React to configure Create React ...
We demonstrate how to get Tailwind CSS working inside a CRA-based React ... Since Create React App doesn't let you override the PostCSS ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you tell that when running
npm install tailwindcss
it works?@pi0 Your fix is merged in v1.5.1