vue-路由懒加载

将import ... from..改为

const Foo = resolve => require(['./Foo.vue'], resolve)

posted @ 2017-07-12 17:56  郑福坤  阅读(139)  评论(0编辑  收藏  举报