-
Notifications
You must be signed in to change notification settings - Fork 7
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
Render an initial asset during SSR #21
Comments
At least in 0.4.1, even if |
Actually, the correct way to do this is to clear the transitions for the asset you want to load immediately ... then it will be rendered immediately. So like: vue-visual(
:poster='$contentful.img(page.image, 274, 82)'
:image='$contentful.img(page.image, 2740, 820)'
:load-poster='true'
transition-poster='') Then the poster will be rendered in the original markup ... however, I'm thinking of handling a different way for this use case, using |
Yeah, the link preload approach worked for me |
Currently, when vue-visual gets SSRed via Nuxt, there is no asset rendered. It would be nice if the rendering of the initial asset during SSG didn't depend in Nuxt hydrating the JS. This would also make it work better with
lazy-hyrdate
.The text was updated successfully, but these errors were encountered: