cara menginstal vue router
npm install --save vue-router@next
# Install the latest version
Bewildered Batfish
npm install --save vue-router@next
# Install the latest version
npm install vue-router
npm install vue-router vue-axios --save
cd [project]
npm install --save vue-router // install only on the project that we are in
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
npm install vue-router vue-axios --save