EDIT: After further debugging, i've identified the source of the issue in this comment:
#1318 (comment)
Original (obsolete) post:
Describe the bug
When using nuxt-booster with Tailwind v4 and nuxt generate, all tailwind-classes are gone and everything is unstyled.
This happens with the current v7.0.0-beta.0 version, of @nuxtjs/tailwindcss, as well as with the manual solution outlined here.
To Reproduce
Steps to reproduce the behavior:
- Download reproduction at https://stackblitz.com/edit/nuxt-starter-r1ta6tdy
- Call
pnpm install --shamefully-hoist && pnpm generate && pnpm preview
- The text should be bold and purple, but it is unstyled.
When removing nuxt-booster, or using pnpm build instead of pnpm generate, or pnpm dev, the text is correctly styled.
Expected behavior
Tailwind classes should not get removed.
Desktop (please complete the following information):
- OS: Windows 11
- Browser Chrome
- Version 122.0.6261.129 (Offizieller Build) (64-Bit)
EDIT: After further debugging, i've identified the source of the issue in this comment:
#1318 (comment)
Original (obsolete) post:
Describe the bug
When using
nuxt-boosterwith Tailwind v4 andnuxt generate, all tailwind-classes are gone and everything is unstyled.This happens with the current
v7.0.0-beta.0version, of@nuxtjs/tailwindcss, as well as with the manual solution outlined here.To Reproduce
Steps to reproduce the behavior:
pnpm install --shamefully-hoist && pnpm generate && pnpm previewWhen removing
nuxt-booster, or usingpnpm buildinstead ofpnpm generate, orpnpm dev, the text is correctly styled.Expected behavior
Tailwind classes should not get removed.
Desktop (please complete the following information):