1***@qq.com
1***@qq.com
  • 发布:2019-05-08 11:03
  • 更新:2019-05-08 11:03
  • 阅读:2126

uniapp编译成小程序报错You may need an appropriate loader to handle this file type.

分类:HBuilderX

我在插件市场引入了几个组件,在webapp端运行是没有问题的,但是我用npm run dev:mp-weixin的时候出现了You may need an appropriate loader to handle this file type。

尝试在pages.json 中的globalStyle使用
"usingComponents": {
"uni-grid": "/components/uni-grid/uni-grid",
"fa-icon": "/components/fa-icon/fa-icon",
"uni-list": "/components/uni-list/uni-list",
"wuc-tab": "/components/wuc-tab/wuc-tab"
}
还是不行。

2019-05-08 11:03 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复