Closed 4350pChris closed 1 year ago
I have the same problem! Everything looks fine when using dev server, but some styles are lost after nuxi generate
.
I am having the same problem too.
pnpm dev
works fine
pnpm build && pnpm start
is broken
Hello @kidonng, could you find a way to make the pnpm build
command work please ?
Update to @unocss/nuxt@0.49.8
It works now thank you
I assume this is resolved. Please open a new issue if you still experience it with latest dependencies.
I'm facing a problem with the prod build - in dev mode all styles are imported correctly, but when running a production server the styles no longer work correctly. It seems that some classes are missing.
I'm using Nuxt 3
3.0.0-rc.11
Here are the relevant files, I left out unrelated parts.
package.json
UnoCSS config
Nuxt config