]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: link typo
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 8 Nov 2023 13:11:12 +0000 (14:11 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 8 Nov 2023 13:11:12 +0000 (14:11 +0100)
packages/docs/guide/migration/index.md

index c4bcbd6243ca1d9afef7f3d2f7ef7d5643e99140..f339bea436e3b43a212edfc687ee90fa65e9a858 100644 (file)
@@ -437,7 +437,7 @@ Decoded values in `params`, `query`, and `hash` are now consistent no matter whe
 Given any [normalized route location](/api/interfaces/RouteLocationNormalized.md):
 
 - 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`.
-- `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.
+- `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.
 - 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.
 - The slash character (`/`) is now properly decoded inside `params` while still producing an encoded version on the URL: `%2F`.