Alex
Alex

Reputation: 715

Vue.js app deployment

I have Vue app, created with vue-cli. This is semi-developed application. I want show to customer what we have now. So, I want to deploy what we have.

If I run script npm run build can I continue project development after building? What best practices for deploying not finished app?

P. S. I'm new in vue. I know, that my question can be stupid. Anyway, do not place minuses, please.

Upvotes: 1

Views: 1289

Answers (2)

Steven B.
Steven B.

Reputation: 9362

Yes. npm run build will build and package your app into the dist folder. Everything under your src folder will remain as it is. You can continue working on your app normally and build it as often as you want. There aren't really best practices for this. I would just make sure it doesn't touch production data until it's actually ready.

Upvotes: 2

ramazan793
ramazan793

Reputation: 689

You need to buy a vps hosting and install node.js. That's all, you can deploy your app.
Also you can make a simple back-end on node+express and put there your 'dist' folder after npm run build and this will be your demo app.

Upvotes: 2

Related Questions