注释//import Todo from './views/todo/todo.vue',,为什么报下面的那个错呢,大神指点
来源:4-4 Vue-router之导航守卫

慕容0400149
2018-07-20
使用syntax-dynamic-import
component: () => import('../views/todo/todo.vue'),
写回答
1回答
-
24行后面不应该有逗号,其他两个是注释双斜线后面要加空格
012018-07-23
相似问题