flip icon indicating copy to clipboard operation
flip copied to clipboard

Cannot read properties of null (reading 'plugin')

Open cinob opened this issue 2 years ago • 4 comments

Hi~ I tried using the Flip in nuxt3. Cannot read properties of null (reading 'plugin') Can it be compatible in SSR?

cinob avatar Apr 07 '22 06:04 cinob

It should work with SSR. Maybe this issue can be of help? https://github.com/pqina/flip/issues/18

rikschennink avatar Apr 11 '22 07:04 rikschennink

I looked at the source code. There is no export plugin property on the server side. Maybe there's some way to make it compatible?

cinob avatar Apr 11 '22 07:04 cinob

im having the same issue. I tried using with react

torinolucas avatar Oct 11 '22 16:10 torinolucas

I unfortunately don't have the time to do that right now, you can however embed the script on the page (in the template or dynamically when loading your component) and use the global tick instance.

rikschennink avatar Oct 12 '22 07:10 rikschennink