Closed QzhouZ closed 1 year ago
// mian.js await preFetchLib("hel-tpl-remote-vue-comps"); ... // App.vue import comps from "hel-tpl-remote-vue-comps";
如果不需要类型提示或不需要静态导入方式,可不安装npm包,直接
// 可获得远程模块,注意配合写为异步的vue组件哦 const comps = await preFetchLib("hel-tpl-remote-vue-comps");
close issue