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

nuxt3上使用自定义指令v-viewer #353

Open
luofengwz opened this issue Nov 13, 2024 · 2 comments
Open

nuxt3上使用自定义指令v-viewer #353

luofengwz opened this issue Nov 13, 2024 · 2 comments

Comments

@luofengwz
Copy link

luofengwz commented Nov 13, 2024

nuxt3上使用自定义指令v-viewer,打包后刷新会报 Cannot read properties of undefined (reading 'getSSRProps')

@mirari
Copy link
Owner

mirari commented Nov 13, 2024

指令需要对DOM进行直接操作,未针对SSR做过优化,在外面套上ClientOnly吧

@luofengwz
Copy link
Author

指令需要对DOM进行直接操作,未针对SSR做过优化,在外面套上ClientOnly吧

ok,感谢回复!

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

2 participants