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 89b13ee commit d99579dCopy full SHA for d99579d
generator/templates/simple/src/router.js
@@ -4,7 +4,7 @@ import Home from './views/Home.vue'
4
5
Vue.use(Router)
6
7
-export default new Router({
+const options = {
8
mode: 'history',
9
base: process.env.BASE_URL,
10
routes: [
@@ -23,3 +23,5 @@ export default new Router({
23
}
24
]
25
})
26
+export default new Router(options)
27
+export const options = options
0 commit comments