import Vue from 'node_modules/vue/dist/vue.js' code example
Example: install vue js
npm install -g vue-cli //make sure you have node and npm installed
vue init webpack <appname> // eg: vue init webpack myapp
cd <appname> // cd myapp
npm install
npm run dev //server will start in port 8080