Installation

Direct Download / CDN

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

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@4.0.5/dist/vue-router.global.js.

npm

npm install vue-router@4

yarn

yarn add vue-router@4