Commit 15e12c1f by 展昭

update

parent 9ddf2860
Showing with 1 additions and 4 deletions
...@@ -13,10 +13,7 @@ Vue.use(VueRouter) ...@@ -13,10 +13,7 @@ Vue.use(VueRouter)
{ {
path: '/about', path: '/about',
name: 'About', name: 'About',
// route level code-splitting component: () => import('../views/About.vue')
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
} }
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment