Skip to content

Commit

Permalink
chore: update repo references
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 18, 2022
1 parent ac445dd commit 87d09f8
Show file tree
Hide file tree
Showing 14 changed files with 290 additions and 290 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blank_issues_enabled: false
contact_links:
- name: Create new issue
url: https://new-issue.vuejs.org/?repo=vuejs/vue-router-next
url: https://new-issue.vuejs.org/?repo=vuejs/router
about: Please use the following link to create a new issue.
- name: Github Sponsors
url: https://github.com/sponsors/posva
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
with:
tag_name: ${{ github.ref }}
body: |
Please refer to [CHANGELOG.md](https://github.com/vuejs/vue-router-next/blob/master/CHANGELOG.md) for details.
Please refer to [CHANGELOG.md](https://github.com/vuejs/router/blob/master/CHANGELOG.md) for details.
540 changes: 270 additions & 270 deletions CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# vue-router-next [![release candidate](https://img.shields.io/npm/v/vue-router/next.svg)](https://www.npmjs.com/package/vue-router/v/next) [![CircleCI](https://badgen.net/circleci/github/vuejs/vue-router-next/master)](https://circleci.com/gh/vuejs/vue-router-next)
# vue-router-next [![release candidate](https://img.shields.io/npm/v/vue-router/next.svg)](https://www.npmjs.com/package/vue-router/v/next) [![CircleCI](https://badgen.net/circleci/github/vuejs/router/master)](https://circleci.com/gh/vuejs/router)

> This is the repository for Vue Router 4 (for Vue 3)
Expand Down Expand Up @@ -73,7 +73,7 @@ Please consult the [Migration Guide](https://next.router.vuejs.org/guide/migrati

## Contributing

See [Contributing Guide](https://github.com/vuejs/vue-router-next/blob/master/.github/contributing.md).
See [Contributing Guide](https://github.com/vuejs/router/blob/master/.github/contributing.md).

## Special Thanks

Expand Down
2 changes: 1 addition & 1 deletion __tests__/router.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ describe('Router', () => {
})
})

// https://github.com/vuejs/vue-router-next/issues/404
// https://github.com/vuejs/router/issues/404
it('works with named routes', async () => {
const history = createMemoryHistory()
const router = createRouter({
Expand Down
8 changes: 4 additions & 4 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const config = defineConfig({
},

themeConfig: {
repo: 'vuejs/vue-router-next',
docsRepo: 'vuejs/vue-router-next',
repo: 'vuejs/router',
docsRepo: 'vuejs/router',
docsDir: 'docs',
docsBranch: 'master',
editLinks: true,
Expand Down Expand Up @@ -77,7 +77,7 @@ const config = defineConfig({
},
{
text: 'Changelog',
link: 'https://github.com/vuejs/vue-router-next/blob/master/CHANGELOG.md',
link: 'https://github.com/vuejs/router/blob/master/CHANGELOG.md',
},
],

Expand Down Expand Up @@ -207,7 +207,7 @@ const config = defineConfig({
},
{
text: '更新日志',
link: 'https://github.com/vuejs/vue-router-next/blob/master/CHANGELOG.md',
link: 'https://github.com/vuejs/router/blob/master/CHANGELOG.md',
},
],

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/migration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ If you wish to customize this behavior, e.g. take into account the `hash` sectio

### Navigation guards in mixins are ignored

At the moment navigation guards in mixins are not supported. You can track its support at [vue-router#454](https://github.com/vuejs/vue-router-next/issues/454).
At the moment navigation guards in mixins are not supported. You can track its support at [vue-router#454](https://github.com/vuejs/router/issues/454).

### Removal of `router.match` and changes to `router.resolve`

Expand Down
2 changes: 1 addition & 1 deletion docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Vue Router is the official router for [Vue.js](http://v3.vuejs.org). It deeply i
- Customizable Scroll Behavior
- Proper encoding for URLs

[Get started](./guide/) or play with the [playground](https://github.com/vuejs/vue-router-next/tree/master/playground) (see [`README.md`](https://github.com/vuejs/vue-router-next) to run them).
[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).

<HomeSponsors />

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/guide/migration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ app.config.globalProperties.append = (path, pathToAppend) =>

### 忽略 mixins 中的导航守卫

目前不支持 mixins 中的导航守卫,你可以在 [vue-router#454](https://github.com/vuejs/vue-router-next/issues/454) 追踪它的支持情况。
目前不支持 mixins 中的导航守卫,你可以在 [vue-router#454](https://github.com/vuejs/router/issues/454) 追踪它的支持情况。

### 删除 `router.match` 改为 `router.resolve`

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Vue Router 是 [Vue.js](http://v3.vuejs.org) 的官方路由。它与 Vue.js 核
- 可定制的滚动行为
- URL 的正确编码

[入门](./guide/)或使用 [playground](https://github.com/vuejs/vue-router-next/tree/master/playground) (详见[`README.md`](https://github.com/vuejs/vue-router-next)来运行它们)。
[入门](./guide/)或使用 [playground](https://github.com/vuejs/router/tree/master/playground) (详见[`README.md`](https://github.com/vuejs/router)来运行它们)。

<HomeSponsors />

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-router-next.git"
"url": "git+https://github.com/vuejs/router.git"
},
"bugs": {
"url": "https://github.com/vuejs/vue-router-next/issues"
"url": "https://github.com/vuejs/router/issues"
},
"homepage": "https://github.com/vuejs/vue-router-next#readme",
"homepage": "https://github.com/vuejs/router#readme",
"files": [
"dist/*.js",
"dist/vue-router.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/history/html5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function useHistoryStateNavigation(base: string) {
* if a base tag is provided and we are on a normal domain, we have to
* respect the provided `base` attribute because pushState() will use it and
* potentially erase anything before the `#` like at
* https://github.com/vuejs/vue-router-next/issues/685 where a base of
* https://github.com/vuejs/router/issues/685 where a base of
* `/folder/#` but a base of `/` would erase the `/folder/` section. If
* there is no host, the `<base>` tag makes no sense and if there isn't a
* base tag we can just use everything after the `#`.
Expand Down Expand Up @@ -263,7 +263,7 @@ function useHistoryStateNavigation(base: string) {
{},
// use current history state to gracefully handle a wrong call to
// history.replaceState
// https://github.com/vuejs/vue-router-next/issues/366
// https://github.com/vuejs/router/issues/366
historyState.value,
history.state as Partial<StateEntry> | null,
{
Expand Down
2 changes: 1 addition & 1 deletion src/matcher/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export function createRouterMatcher(

if (__DEV__ && !path.startsWith('/')) {
warn(
`The Matcher cannot resolve relative paths but received "${path}". Unless you directly called \`matcher.resolve("${path}")\`, this is probably a bug in vue-router. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-router-next.`
`The Matcher cannot resolve relative paths but received "${path}". Unless you directly called \`matcher.resolve("${path}")\`, this is probably a bug in vue-router. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/router.`
)
}

Expand Down
2 changes: 1 addition & 1 deletion src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ export function createRouter(options: RouterOptions): Router {
// nested objects, so we keep the query as is, meaning it can contain
// numbers at `$route.query`, but at the point, the user will have to
// use their own type anyway.
// https://github.com/vuejs/vue-router-next/issues/328#issuecomment-649481567
// https://github.com/vuejs/router/issues/328#issuecomment-649481567
stringifyQuery === originalStringifyQuery
? normalizeQuery(rawLocation.query)
: ((rawLocation.query || {}) as LocationQuery),
Expand Down

0 comments on commit 87d09f8

Please sign in to comment.