sunmingtao / sample-code

3 stars 4 forks source link

Vue.js project quick start steps #55

Closed sunmingtao closed 5 years ago

sunmingtao commented 5 years ago

Download node.js from https://nodejs.org/en/

npm install -g vue-cli
vue init webpack-simple vue-smt
cd vue-smt
npm install
npm run dev

Download Visual stdio code Install Vetur extension

Update to latest version npm install npm@latest -g

Check version npm -v

Install route

cd vue-smt
#--save will add this dependency to package.json, which is equivalent of pom.xml in a java maven project
npm install --save vue-router