## Pull Request Guidelines
-- Checkout a topic branch from a base branch, e.g. `master`, and merge back against that branch.
+- Checkout a topic branch from a base branch, e.g. `main`, and merge back against that branch.
- If adding a new feature:
with:
tag_name: ${{ github.ref }}
body: |
- Please refer to [CHANGELOG.md](https://github.com/vuejs/router/blob/master/CHANGELOG.md) for details.
+ Please refer to [CHANGELOG.md](https://github.com/vuejs/router/blob/main/CHANGELOG.md) for details.
on:
push:
branches:
- - master
+ - main
pull_request:
branches:
- - master
+ - main
jobs:
size:
runs-on: ubuntu-latest
-# vue-router-next [](https://www.npmjs.com/package/vue-router/v/next) [](https://circleci.com/gh/vuejs/router)
+# vue-router-next [](https://www.npmjs.com/package/vue-router/v/next) [](https://circleci.com/gh/vuejs/router)
> This is the repository for Vue Router 4 (for Vue 3)
## Contributing
-See [Contributing Guide](https://github.com/vuejs/router/blob/master/.github/contributing.md).
+See [Contributing Guide](https://github.com/vuejs/router/blob/main/.github/contributing.md).
## Special Thanks
repo: 'vuejs/router',
docsRepo: 'vuejs/router',
docsDir: 'docs',
- docsBranch: 'master',
+ docsBranch: 'main',
editLinks: true,
editLinkText: 'Suggest changes to this page',
},
{
text: 'Changelog',
- link: 'https://github.com/vuejs/router/blob/master/CHANGELOG.md',
+ link: 'https://github.com/vuejs/router/blob/main/CHANGELOG.md',
},
],
},
{
text: '更新日志',
- link: 'https://github.com/vuejs/router/blob/master/CHANGELOG.md',
+ link: 'https://github.com/vuejs/router/blob/main/CHANGELOG.md',
},
],
- Customizable Scroll Behavior
- Proper encoding for URLs
-[Get started](./guide/) or play with the [playground](https://github.com/vuejs/router/tree/master/playground) (see [`README.md`](https://github.com/vuejs/router) to run them).
+[Get started](./guide/) or play with the [playground](https://github.com/vuejs/router/tree/main/playground) (see [`README.md`](https://github.com/vuejs/router) to run them).
<HomeSponsors />
- 可定制的滚动行为
- URL 的正确编码
-[入门](./guide/)或使用 [playground](https://github.com/vuejs/router/tree/master/playground) (详见[`README.md`](https://github.com/vuejs/router)来运行它们)。
+[入门](./guide/)或使用 [playground](https://github.com/vuejs/router/tree/main/playground) (详见[`README.md`](https://github.com/vuejs/router)来运行它们)。
<HomeSponsors />