Skip to content

Commit 4c341eb

Browse files
committed
docs: link typo
1 parent 2a77ce6 commit 4c341eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/guide/migration/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ Decoded values in `params`, `query`, and `hash` are now consistent no matter whe
437437
Given any [normalized route ___location](/api/interfaces/RouteLocationNormalized.md):
438438

439439
- Values in `path`, `fullPath` are not decoded anymore. They will appear as provided by the browser (most browsers provide them encoded). e.g. directly writing on the address bar `https://example.com/hello world` will yield the encoded version: `https://example.com/hello%20world` and both `path` and `fullPath` will be `/hello%20world`.
440-
- `hash` is now decoded, that way it can be copied over: `router.push({ hash: $route.hash })` and be used directly in [scrollBehavior](/api/interfaces/RouterOptions.mdscrollBehavior)'s `el` option.
440+
- `hash` is now decoded, that way it can be copied over: `router.push({ hash: $route.hash })` and be used directly in [scrollBehavior](/api/interfaces/RouterOptions.md#scrollBehavior)'s `el` option.
441441
- When using `push`, `resolve`, and `replace` and providing a `string` ___location or a `path` property in an object, **it must be encoded** (like in the previous version). On the other hand, `params`, `query` and `hash` must be provided in its unencoded version.
442442
- The slash character (`/`) is now properly decoded inside `params` while still producing an encoded version on the URL: `%2F`.
443443

0 commit comments

Comments
 (0)