How to Use vue-router in Vue
Step: 1 Create one project. Create one project. mkdir VueRoute Go to that project and create one file called package.json. Then, copy the following code into the package.json file. { “name”: “vuerouter”, “version”: “1.0.0”, “description”: “”, “main”: “index.js”, “scripts”: { “start”: “webpack-dev-server” }, “author”: “”, “license”: “ISC”, “devDependencies”: { “babel-core”: “^6.25.0”, “babel-loader”: “^7.1.1”, “babel-plugin-transform-runtime”: “^6.23.0”, “babel-preset-es2015”: … Read more