Prerequisites: – Web server (Apache2)
Step #1: Install npm and vue by running: $ apt install npm $ npm install -g @vue/cli
Step #2: Adding your project files to the server (e.g. from GitHub using clone command) In this tutorial, we’ll use a simple Vue app example and store the application accordingly (ex. /var/www/vueapp):
$ cd /var/www/ $ vue create vueapp $ cd vueapp
Step #3: Start the Server by runnnig: $ npm run serve