文章教程

vue+webpack实现异步加载三种用法示例详解

5/9/2018 9:49:17 PM 人评论 次浏览

1.第一例

const Home = resolve => {
  import("@/components/home/home.vue").then( module => {
      resolve(module)
  }
}