🚦 The official router for Vue.js.
This is vue-router 3.0 which works only with Vue 2.0. For the 1.x router see the 1.0 branch.
Vue Router is part of the Vue Ecosystem and is an MIT-licensed open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider:
# install deps npm install
build dist files
npm run build
serve examples at localhost:8080
npm run dev
lint & run all tests
serve docs at localhost:8080
npm run docs
yarn run release
yarn run test
VERSION= yarn run build
yarn run changelog
git add dist CHANGELOG.md && git commit -m "[build $VERSION]"
git push origin refs/tags/v$VERSION && git push
Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.
Please make sure to read the Contributing Guide before making a pull request.
Copyright (c) 2013-present Evan You
Special thanks to BrowserStack for letting the maintainers use their service to debug browser specific issues.