Creating a Vue 2 application with Vue CLI

Posted by Vasilis on August 21, 2017

For Windows:

Install npm with node.js from https://nodejs.org

Using command line, install Vue CLI

nmp install --global -vue-cli

 

Create a new project using the webpack template

vue init webpack my-vue-app

 

After initiating the app we install it and run it

cd my-vue-app
nmp install
nmp run dev

When server is ready, the browser will open to http://localhost:8080