{ path: '/',
name: 'home',
component: Home,
},
{ path: '/about',
name: 'about',
// component: About
// route level code-splitting
// 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'),
},`
添加回答
举报
0/150
提交
取消