By Dan Kalagher
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.
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!
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.
https://vuejs.org/v2/guide/installation.html
https://medium.com/codingthesmartway-com-blog/vue-js-2-quickstart-tutorial-2017-246195cfbdd2
You can setup a Node droplet by using one of the pre-built images called One-Click Apps, when you create a new droplet.
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:
https://medium.com/@Web_Bailey/deploy-a-vuejs-app-with-digitalocean-fd6e7af07e40
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.