Open riderx opened 2 years ago
Have you made any progress on this?
i still have random error
@NunoSav i found somthing about this : https://github.com/iamstevendao/vue-tel-input/issues/310 and ionic team gave me a good track to follow : https://github.com/ionic-team/ionic-framework/issues/24800
Ionic imports data from vue-router, which ends up calling defineComponent from Vue.
This defineComponent function uses an imported isFunction call.
Because there are 2 different instances of Vue bundled, isFunction ends up being undefined.
As said here : https://github.com/antfu/vite-ssg/issues/22 it could be ionic error in they package.json here : https://github.com/ionic-team/ionic-framework/blob/main/packages/vue-router/package.json But i see nothing wrong in they package, and it's work with vite, but not vite-ssg @antfu can you enlight me ? i will report to ionic then .
To reproduce :
add this module : ionic.ts
and build
pnpm build
you will get the issue, but i don't have any issue with
vitespa
when no ssg : https://github.com/ctholho/vitespa