pqina / flip

⏳ The online version of the classic flip clock
https://pqina.nl/flip/
MIT License
874 stars 89 forks source link

Cannot read properties of null (reading 'plugin') #44

Open cinob opened 2 years ago

cinob commented 2 years ago

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

rikschennink commented 2 years ago

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

cinob commented 2 years ago

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?

torinolucas commented 1 year ago

im having the same issue. I tried using with react

rikschennink commented 1 year ago

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.