-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nuxt / ssr workaround #65
Comments
You can put the above in a mixin function and have also figured you can do it as easy as this:
The benefit is, that with JS disabled, the title will still show. With the previous method, it won't. If someone knows how to fix showing the title in #1 case or knows how to fix the warning, please let me know 🙏 |
Wrapping it in a |
If you're running Nuxt with Vue 3, we've just created a lite adaptation of Splitting designed for Vue 3 which is fully SSR compatible (that's why we made it) |
yo @shshaw & @notoriousb1t
just wanted to share my fugly workaround for anyone else in nuxt:
html:
computed:
nuxt.config.js
:splitting.client.js
:last edit with a tip:
If you want to style this make sure you've got no
scoped
attributeThe text was updated successfully, but these errors were encountered: