v-viewer icon indicating copy to clipboard operation
v-viewer copied to clipboard

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

Open luofengwz opened this issue 1 year ago • 2 comments

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

luofengwz avatar Nov 13 '24 03:11 luofengwz

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

mirari avatar Nov 13 '24 03:11 mirari

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

ok,感谢回复!

luofengwz avatar Nov 13 '24 03:11 luofengwz