{ 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'), },
`
胡子哥哥
相关分类