Error when using vueuse/motion in SSR app-vite production and app-webpack #13485
-
|
Hello, I am currently using quasar/app-vite and trying to add vueuse/motion to a project. It works without any problem in dev but the production mode shows an error: I tried on webpack but got a similar error even in dev: My guess is that it is because the server uses CommonJS but tries to require an ES module. Has anyone encountered this problem before or know how to solve it ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
it has nothing to do with quasar, but i did encountered this problem with other packages before. |
Beta Was this translation helpful? Give feedback.
-
|
Fixed in latest beta of @vueuse/motion |
Beta Was this translation helpful? Give feedback.
Fixed in latest beta of @vueuse/motion