]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: move encoding to improvements [skip ci]
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 3 Aug 2020 11:08:47 +0000 (13:08 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 3 Aug 2020 11:08:47 +0000 (13:08 +0200)
README.md

index 3d31c5b2cc31d8577248e2faaca4e96948e5d61a..bc5d3b7c5381e14d9a8c7293c61f123a5a85d10d 100644 (file)
--- a/README.md
+++ b/README.md
   </router-view>
   ```
   See more on the [KeepAlive](https://github.com/vuejs/vue-router-next/blob/master/e2e/keep-alive/index.ts) and the [Transition](https://github.com/vuejs/vue-router-next/blob/master/e2e/transitions/index.ts) examples.
-- Encoding is now more consistent. The initial navigation should yield the same results are in-app navigations.
-  - Values in `path`, `fullPath` are not decoded anymore. They will appear as provided by the browser (most browsers provide them encoded).
-  - `params`, `query` and `hash` are now all decoded
-  - When using `push`, `resolve` and `replace` and providing a `string` location or a `path` property in an object, **it must be encoded**. `params`, `query` and `hash` must be provided in its decoded version.
 
 ### Typings
 
@@ -127,6 +123,10 @@ These are technically breaking changes but they fix an inconsistent behavior.
   ]
   ```
   Note this will work if `path` was `/parent/` as the relative location `home` to `/parent/` is indeed `/parent/home` but the relative location of `home` to `/parent` is `/home`
+- Encoding is now more consistent. The initial navigation should yield the same results are in-app navigations.
+  - Values in `path`, `fullPath` are not decoded anymore. They will appear as provided by the browser (most browsers provide them encoded).
+  - `params`, `query` and `hash` are now all decoded
+  - When using `push`, `resolve` and `replace` and providing a `string` location or a `path` property in an object, **it must be encoded**. `params`, `query` and `hash` must be provided in its decoded version.
 
 ## Contributing