-
Notifications
You must be signed in to change notification settings - Fork 195
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
- Operating System: Darwin
- Node Version: v23.8.0
- Nuxt Version: 3.16.0
- CLI Version: 3.22.5
- Nitro Version: 2.11.5
- Package Manager: [email protected]
- Builder: -
- User Config: -
- Runtime Modules: -
- Build Modules: -
Reproduction
Using tailwind via this module previously worked fine with no module configuration. After upgrading to 3.16 today, I found many of my styles to be missing.
Describe the bug
Someone quickly found a solution on the Discord, but it should be noted here in case others run into it. Also, maybe the implementation needs to be updated to support the newest nuxt version.
The fix for me was to add to my nuxt.config.ts:
tailwindcss: {
config: {
content: ["./pages/**/*.{vue,js,ts}", "./components/**/*.{vue,js,ts}"],
},
},
Additional context
No response
Logs
layerzzzio, Abolfazl2049, DreaMinder, LucaArgentieri, nicokempe and 3 more25Das, isaacR23, Tomtec331, stlucasgarcia, cwandev and 13 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working