You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npx nuxi@latest init nuxt-repro-bad-200
cd nuxt-repro-bad-200
npm install
I also ran initalization of Firebase Static Hosting to be able to deploy to a server. It will redirect to the 200.html. The firebase.json file is as follows.
Setup the config to 1) static generate 2) include the css 3) skip dynamic from generating
// nuxt.config.tsexportdefaultdefineNuxtConfig({ssr: true,// Static generationcss: ['~/assets/styles/main.css'],// Include the css filenitro: {prerender: {ignore: ['/dynamic']}},// Skip the dynamic page from generation})
Include the workaround for the 200.html misdirection bug.
I'm not really sure how to do that... I just uploaded all the code to this repo. Of course, you need to find somewhere to put the code once you deploy... If you want to see my deployed version (on Firebase Hosting) you can check out the two links:
Environment
Reproduction
I also ran initalization of Firebase Static Hosting to be able to deploy to a server. It will redirect to the 200.html. The firebase.json file is as follows.
Next, make two pages, one that is statically generated and one that is skipped.
Add a css file that defines the 'big-red-box' class.
Setup the config to 1) static generate 2) include the css 3) skip dynamic from generating
Include the workaround for the 200.html misdirection bug.
Finally, build and deploy
Describe the bug
Going to the two pages show that the one that was dynamically generated does not have the required CSS while the statically generated page does.
Additional context
This also affects included css from plugins such as Vuetify.
Logs
No response
The text was updated successfully, but these errors were encountered: