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
Is your feature request related to a problem? Please describe.
I'm creating a static blog theme using nuxt-content. I used this package to support dark mode and to avoid the white flash I wrapped my default layout in color-scheme component. Because of this, nuxt's crawler stopped working and none of the pages were being pre-rendered (it took me 10+ hours of tweaking and googling to realize this). I'm assuming this has something to do with color-scheme wrapping the slot content in client-only.
Describe the solution you'd like
Mentioning this caveat in the documentation would be a good start.
Even better would be to provide a prop to somehow make this work with nuxt-content.
Describe alternatives you've considered
Nothing. I'll take white flash over no pre-rendering. 😄
Additional context
I don't have a reproduction link that's why I'm filing this as a feature request rather than a bug.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm creating a static blog theme using nuxt-content. I used this package to support dark mode and to avoid the white flash I wrapped my default layout in
color-scheme
component. Because of this, nuxt's crawler stopped working and none of the pages were being pre-rendered (it took me 10+ hours of tweaking and googling to realize this). I'm assuming this has something to do withcolor-scheme
wrapping the slot content inclient-only
.Describe the solution you'd like
Describe alternatives you've considered
Nothing. I'll take white flash over no pre-rendering. 😄
Additional context
I don't have a reproduction link that's why I'm filing this as a feature request rather than a bug.
The text was updated successfully, but these errors were encountered: