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 69b02fe commit bf1745bCopy full SHA for bf1745b
generator/templates/simple/src/router.js
@@ -1,6 +1,7 @@
1
import Vue from 'vue'
2
import Router from 'vue-router'
3
import Home from './views/Home.vue'
4
+import About from './views/About.vue'
5
6
Vue.use(Router)
7
@@ -16,10 +17,7 @@ export const options = {
16
17
{
18
path: '/about',
19
name: 'about',
- // route level code-splitting
20
- // this generates a separate chunk (about.[hash].js) for this route
21
- // which is lazy-loaded when the route is visited.
22
- component: () => import(/* webpackChunkName: "about" */ './views/About.vue')
+ component: About
23
}
24
]
25
0 commit comments