mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
feat: add parseQuery and stringifyQuery for router
This commit is contained in:
parent
ff4a5bd404
commit
8eb519b16b
@ -60,6 +60,8 @@ export function createRouter () {
|
||||
routes: [
|
||||
<%= _routes %>
|
||||
],
|
||||
parseQuery: <%= router.parseQuery %>,
|
||||
stringifyQuery: <%= router.stringifyQuery %>,
|
||||
fallback: <%= router.fallback %>
|
||||
})
|
||||
}
|
||||
|
@ -271,6 +271,8 @@ Options.defaults = {
|
||||
linkExactActiveClass: 'nuxt-link-exact-active',
|
||||
extendRoutes: null,
|
||||
scrollBehavior: null,
|
||||
parseQuery: false,
|
||||
stringifyQuery: false,
|
||||
fallback: false
|
||||
},
|
||||
render: {
|
||||
|
Loading…
Reference in New Issue
Block a user