Bit of a n00b question: I created project with vue-cli using webpack. On my windows machine I run "npm un dev" and I get a frontend server with HMR and so on. Now I want to deploy my app to a production machine - ubuntu on DigitalOcean.
What are the steps I must take? I'm not very familiar with the logic of how it's supposed to work. If my ubuntu machine has NODE_ENV set to production, it won't install any of the devDependancies and i'm not able to build anything. So I guess I'll have to change that?
And do I have to create another node/express server to serve index.html? Won't it supposed to work out-of-the-box somehow?
Thanks :)
via Tarvo Tammeoks
No comments:
Post a Comment