We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae739d0 commit d250bf2Copy full SHA for d250bf2
src/vue-router.common.ts
@@ -21,7 +21,7 @@ import routerMixin from "./router-mixin";
21
*/
22
export const createRouter = (
23
vueRouterOptions: NSVueRouterOptions,
24
- routerOptions: RouterServiceOptions
+ routerOptions: RouterServiceOptions = {}
25
) => {
26
const vm = routerOptions.vm || (Vue as any).prototype;
27
0 commit comments