摘要: 体验 在大型项目中,我们可能需要拆分应用为更小的块,并仅在需要时再从服务器加载相关组件; import { defineAsyncComponent } from 'vue'; const AsyncComp = defineAsyncComponent(() => { // 加载函数返回Promi 阅读全文
posted @ 2022-10-19 09:42 Mochenghualei 阅读(233) 评论(0) 推荐(0)