]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: fix qs example (#1177)
authorMehdi Achour <machour@gmail.com>
Tue, 2 Nov 2021 14:09:03 +0000 (15:09 +0100)
committerGitHub <noreply@github.com>
Tue, 2 Nov 2021 14:09:03 +0000 (15:09 +0100)
src/router.ts

index 585d8c9c06b3bfb08348c01623286e2334d77d03..77bf5713439d52db3a2411685652d639a0b041f7 100644 (file)
@@ -152,7 +152,7 @@ export interface RouterOptions extends PathParserOptions {
    *
    * createRouter({
    *   // other options...
-   *   parse: qs.parse,
+   *   parseQuery: qs.parse,
    *   stringifyQuery: qs.stringify,
    * })
    * ```