tailwindcss
tailwindcss copied to clipboard
Compatibility with Nuxt 4 App Folder Structure
Environment
- Operating System:
Darwin - Node Version:
v20.15.1 - Nuxt Version:
3.12.3 - CLI Version:
3.12.0 - Nitro Version:
2.9.7 - Package Manager:
[email protected] - Builder:
- - User Config:
future,modules,eslint,site,router,nitro,devtools,compatibilityDate - Runtime Modules:
@nuxt/[email protected],@nuxt/[email protected],@nuxt/[email protected],@nuxt/[email protected],@nuxthq/[email protected],@nuxtjs/[email protected],@nuxtjs/[email protected],@vueuse/[email protected],[email protected] - Build Modules:
-
Reproduction
Using @nuxtjs/tailwindcss together with the new Nuxt 4 app folder structure
Describe the bug
The { content: [] } support in the tailwind.config file is missing for the new Nuxt 4 app folder structure. It needs to account for the new /app prefix.
Additional context
No response
Logs
No response
It would seem that in the latest versions of nuxt and @nuxt/kit, we should already have support for it (as the files get resolved to the appDir) - could you confirm?
I'm using the nuxt 4 folder structure and for me everything works as expected :)