Ionic build vuejs 3 vue router 4

when i run the command ionic build, it goes through the build.

not sure what to do after that?

when I tried to launch the dist/index.html in a browser, I have this error in the console:

vue-router.esm-bundler.js:1986 Uncaught (in promise) TypeError: c.catch is not a function

I am using vue js 3 and vue-router 4.

as well, the WebBuild from the ionicframework website dashboard does not work.

of course when I ionic serve, it works fine on my local machine