How do I deploy a vue.js app. Do I just upload the index.html file and dist folder??

I’m new to both vue.js and digitalocean. In the past, when I develop a website, I just upload the index.html file and supporting folders/files to the root of the web domain. Doesn’t seem to work with a vue.js app. I’m missing something fundamental here. Appreciate any help.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Not sure if you’re still searching for help on this topic, but I recently made a Medium article that has a step-by-step process on setting up a VueJS app with DigitalOcean:

Hi @dankalagher

You can include a javascript in a file to run it client side - or you can install it by using npm and other way on the server side, which is the recommended way.

You can setup a Node droplet by using one of the pre-built images called One-Click Apps, when you create a new droplet.