3). Vue JS Starting Example program
There are different ways to include Vue.js in your web project: Use CDN by including <script> tag in HTML file Install using Node Package Manager (NPM) Use Vue-cli to setup your project Using Vue-cli we need to install Vue-cli. The commend line interface is available as an NPM package. -g command for install CLI globally on your local system $ npm install -g vue-cli Now we are able to initiate a project vue init webpack [ProjectName] After this its ask basic information of about project, like author, Description, router,tests with Night watch, build type etc. Change the directory with the following command: $ cd [ProjectNameDir] Start installing the dependencies by using npm again. $ npm install After having completed the installation of packages you can start the web server in development mode by using npm in the following way. $ npm run dev