mpvue引入通用组件,方式报错
发布于 6 年前 作者 gangtan 12676 次浏览 来自 问答

单独js文件中引入所有vue组件,通过export统一导出,这样在.vue页面内部可通过import {a,b,c…} from ‘xxx.js’,测试在微信小程序上会有提示:WXMLRT_$gwx:./pages/index/index.vue.wxml:template:1:386: Template 40565a46 not found.

回到顶部