vue-路由懒加载

将import ... from..改为

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

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