错误信息如下 :Critical dependency: the request of a dependency is an expression路由代码如下:routes: [ { path: '/login', name: 'login', component: resolve => require(['./../views/login/login.vue', resolve]) }, { path: '/404', name: '404', component: resolve => require(['./../views/404.vue', resolve]) } ]以前也这么写过,没有出现过这种情况,求解
添加回答
举报
0/150
提交
取消