mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
Update router.js
This commit is contained in:
parent
8eb519b16b
commit
679d48c8c0
@ -60,8 +60,8 @@ export function createRouter () {
|
||||
routes: [
|
||||
<%= _routes %>
|
||||
],
|
||||
parseQuery: <%= router.parseQuery %>,
|
||||
stringifyQuery: <%= router.stringifyQuery %>,
|
||||
<% if (router.parseQuery) { %>parseQuery: <%= serialize(router.parseQuery).replace('parseQuery(', 'function(') %>,<% } %>
|
||||
<% if (router.stringifyQuery) { %>stringifyQuery: <%= serialize(router.stringifyQuery).replace('stringifyQuery(', 'function(') %>,<% } %>
|
||||
fallback: <%= router.fallback %>
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user