diff --git a/lib/app/router.js b/lib/app/router.js index 8312556090..e7f997d7e3 100644 --- a/lib/app/router.js +++ b/lib/app/router.js @@ -60,6 +60,8 @@ export function createRouter () { routes: [ <%= _routes %> ], + parseQuery: <%= router.parseQuery %>, + stringifyQuery: <%= router.stringifyQuery %>, fallback: <%= router.fallback %> }) } diff --git a/lib/common/options.js b/lib/common/options.js index 672a216c85..408613ba29 100755 --- a/lib/common/options.js +++ b/lib/common/options.js @@ -271,6 +271,8 @@ Options.defaults = { linkExactActiveClass: 'nuxt-link-exact-active', extendRoutes: null, scrollBehavior: null, + parseQuery: false, + stringifyQuery: false, fallback: false }, render: {