From: Eduardo San Martin Morote Date: Tue, 1 Sep 2020 16:05:04 +0000 (+0200) Subject: docs: add note about pathToRegexpOptions [skip ci] X-Git-Tag: v4.0.0-beta.8~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1cdcc925ae53247403ac0e7f1da4b681ff019a5;p=thirdparty%2Fvuejs%2Frouter.git docs: add note about pathToRegexpOptions [skip ci] --- diff --git a/README.md b/README.md index c84a7f4b..619ba2cd 100644 --- 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