Closed ahoiroman closed 11 months ago
I found out that this happens, if @nuxtjs/i18n
is installed.
Would you mind providing a reproduction link using our StackBlitz playground? https://stackblitz.com/edit/nuxtlabs-ui?file=app.config.ts,app.vue
Sounds like it could be related to this issue: https://github.com/nuxt/nuxt/issues/21840 In which case it should be fixed in nuxt-edge and the upcoming patch release of Nuxt. There's also a workaround available in that thread.
Sure:
Run in dev mode and in production mode and check the difference:
Is this still happening with latest nuxt version?
It’s solved
Version
Steps to reproduce:
nuxt.config.ts
tailwind.config.ts
What is Expected?
Styles being loaded
What is actually happening?
Running site using
npm run dev
works fine, but usingnpm run build
and start it over, all styles are missing. No css file is being loaded at all.