同步加载 页面加载完就全部导入 import Demo1 from '@/views/demo1.vue' 异步加载 使用该组件的时候,才会请求 const Demo1 = () => import('@/views/demo1.vue')