Deploy VUE 3 JS Application
Hi, I've recently joined railway and i love it.
I didn't find any information to build and deploy a Vue 3 app on railway.
I'm getting this error "Error: No start command could be found". There is not a start command: there should be a field in the settings page to declare the publish directory (dist). Am i right?
2 Replies
Hi, now i use "npx http-server ./dist" as "start command" and it works.
But i have a new VUE ROUTER PROBLEM: whenever I refresh a page that isn't the home page i get a 404 error as is not redirecting back to index. How can i solve this? Info here: https://cli.vuejs.org/guide/deployment.html#routing-with-history-pushstate
Develop. Preview. Ship. For the best frontend teams – Vercel
Deploy web projects with the best frontend developer experience and highest end-user performance.