-
Notifications
You must be signed in to change notification settings - Fork 868
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
Solution to Nuxt3 getSSRProps Error #514
Comments
The same problem occurs only when he refreshes or goes directly to the page after posting to the server. There is no problem jumping from other pages, and there is no problem with local testing, even if he uses vue-lazyload-ssr, it is the same bug. |
I am also experiencing this problem |
1 similar comment
I am also experiencing this problem |
In Nuxt 3, this error happened to me when I was registering the lazyload plugin only on client. You just need to register it both on client and server (remove import VueLazyload from 'vue-lazyload';
import {defineNuxtPlugin} from '#imports';
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(VueLazyload);
}); |
This is just as problematic after packing |
@hilongjw 希望作者尽快修复一下这个问题❤️ |
have anyone find the solution? |
I saw in the issue of nuxt3 that the nuxt3 team is handling errors reported by plugins in nuxt3. I am not sure if this can be used to solve errors in SSR running
nuxt3 team solution
The text was updated successfully, but these errors were encountered: