vue-router : Official router for Vue.js 2. You can installing vue-router npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install vue-router $ sudo npm install -g vue-router
If want to update the vue-router package execute the command as below,
$ sudo npm update vue-router
Update package globally,
$ npm install -g vue-router
$ sudo git clone https://github.com/rektide/vue-router.git
$ sudo npm install -g ./vue-router
vue-router@3.0.1 /usr/lib/node_modules/vue-router
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall vue-router
| Package Name | vue-router |
| Version | 3.0.1 |
| Description | Official router for Vue.js 2 |
| Released Date | 2017-10-13T16:24:49.612Z |
| Published by | yyx990803 |
| How to Learn | https://www.npmjs.com/package/vue-router/tutorial |