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

fix: getSSRProps error #515

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

weilengdezaoshang
Copy link

#514
在nuxt3 ssr渲染的时候会出现getSSRProps报错,即使按照nuxt3的插件使用方法声明当前文件仅在客户端渲染也仍旧会报错,后面看到nuxt3 团队对于这个问题的解决办法,是在插件里面增加一个getSSRProps方法。

@julie7366
Copy link

使用 vue-lazyload-ssr 在nuxt.config.ts中配置
build: {
transpile: [
'vue-lazyload-ssr'
],
},

@11003
Copy link

11003 commented Aug 4, 2024

使用 vue-lazyload-ssr 在nuxt.config.ts中配置 build: { transpile: [ 'vue-lazyload-ssr' ], },

还是不行

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

Successfully merging this pull request may close these issues.

3 participants