Vue Router

Installation

Direct Download / CDN

https://unpkg.com/vue-router@next

Unpkg.com provides npm-based CDN links. The above link will always point to the latest release on npm. You can also use a specific version/tag via URLs like https://unpkg.com/vue-router@3.0.0/dist/vue-router.js.

npm

npm install vue-router@next

Dev Build

You will have to clone directly from GitHub and build vue-router yourself if you want to use the latest dev build.

git clone https://github.com/vuejs/vue-router.git node_modules/vue-router
cd node_modules/vue-router
npm install
npm run build