]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: add note about pathToRegexpOptions [skip ci]
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 1 Sep 2020 16:05:04 +0000 (18:05 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 1 Sep 2020 16:05:36 +0000 (18:05 +0200)
README.md

index c84a7f4b22b8318729d20e9988d3e67c9b2ee3cc..619ba2cd9ad0e370b3d68e5974d2c856747cd9eb 100644 (file)
--- a/README.md
+++ b/README.md
@@ -72,6 +72,7 @@
   ```js
   const parent = this.$route.matched[this.$route.matched.length - 2]
   ```
+- `pathToRegexpOptions` and `caseSensitive` have been replaced with `sensitive` and `strict` options. They can also be directly passed when creating the router with `createRouter()`. Any other option has been removed as `path-to-regexp` is no longer used to parse paths.
 
 ### Typings