Vue App deployment

Good day fam

Please i need help on this as fast as possible. Thanks

I deployed a Vue App on an hosting platform, i got to know that if i serve "www.mydomain.com/about" and hit enter, i get 404 Error Page. have i deployed the wrong thing?

npm run build

note: the dist folder was deployed after build

Hi. But www.mydomain.com/ works? If that is so and your application uses vue-router does the server need to be configured to send all traffic to your app. See here: https://router.vuejs.org/guide/essentials/history-mode.html#example-server-configurations

2 Likes

i discovered that when i deploy to firebase, everything works normally, but that hosting platform, it got messed up