First off, I really really appreciate all of the work you forks have done. I'm using nuxt for my personal website and the overall dev experience it provides is simply awesome. Serving it w/ gh-pages and it just works!
Anyway, I'm having this small trouble that, unlike in dev environment, critical CSS is not handled correctly (as desired?) when I serve static files generated by nuxt generate
.
For instance, I have white-space: pre-line
property for some element on the first page. This rule is loaded before the first render and don't trigger any layout re-render when served in nuxt start
(which is pretty neat). However, re-layout occurs from the statically generated site (see my site for instance).
It kinda makes me sad, so I have a few questions:
nuxt generate
?nuxt generate
) inevitable?Thanks in advance for reading, you folks are amazing 😄
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c960">#c960</a>)</em></sub></div>