I’am trying to deploy an vue app but when i click in other routes in the app i get the message the server responded with a status of 404 (Not Found)
What happens when you run the code locally?
Are you using WebHashHistory or html5 mode - webHistory
From the docs
createWebHistory(), the URL will look “normal,” e.g.
Here comes a problem, though: Since our app is a single page client side app, without a proper server configuration, the users will get a 404 error if they access
https://example.com/user/iddirectly in their browser. Now that’s ugly.
Not to worry: To fix the issue, all you need to do is add a simple catch-all fallback route to your server. If the URL doesn’t match any static assets, it should serve the same
index.htmlpage that your app lives in. Beautiful, again!
Sounds like you’re referring to a Static Site. If Vue routing works like React routing (client-side), you may need this rewrite: https://render.com/docs/deploy-create-react-app#using-client-side-routing