vue-路由懒加载

将import ... from..改为

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

原文地址:https://www.cnblogs.com/jessical626/p/7156788.html