Skip to content
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

Open
weilengdezaoshang opened this issue Jun 30, 2023 · 7 comments
Open

Solution to Nuxt3 getSSRProps Error #514

weilengdezaoshang opened this issue Jun 30, 2023 · 7 comments

Comments

@weilengdezaoshang
Copy link

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

@wf-soft
Copy link

wf-soft commented Aug 29, 2023

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.

@Aybee5
Copy link

Aybee5 commented Nov 30, 2023

I am also experiencing this problem

1 similar comment
@Milk-Ice
Copy link

Milk-Ice commented Jan 8, 2024

I am also experiencing this problem

@andreww2012
Copy link

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 .client prefix from a Nuxt plugin file), just like this:

import VueLazyload from 'vue-lazyload';
import {defineNuxtPlugin} from '#imports';

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp.use(VueLazyload);
});

@yyt-do
Copy link

yyt-do commented Mar 16, 2024

This is just as problematic after packing

@11003
Copy link

11003 commented Aug 25, 2024

@hilongjw 希望作者尽快修复一下这个问题❤️

@cyanerd
Copy link

cyanerd commented Sep 24, 2024

have anyone find the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants