iconfont-cli / taro-iconfont-cli

在Taro框架中使用iconfont图标,支持多端,支持多色彩,不依赖字体。
MIT License
355 stars 49 forks source link

微信编译报错 #18

Closed ZhaoYu8 closed 4 years ago

ZhaoYu8 commented 4 years ago

jsEnginScriptError Component is not found in path "components/iconfont/index.weapp" (using by "components/forecast/forecast");onAppRoute Error: Component is not found in path "components/iconfont/index.weapp" (using by "components/forecast/forecast")

"taro-iconfont-cli": "^1.1.0"

fwh1990 commented 4 years ago

现在最新版是 taro-iconfont-cli@1.2.0,建议升级后,重新生成组件。看下有没有报错

fwh1990 commented 4 years ago

顺便提供一下taro的版本

ZhaoYu8 commented 4 years ago

taro-cli 的问题,我降级了就可以了。阿西吧。真的恶心

fwh1990 commented 4 years ago

好像2.1.0有问题,有其它小伙伴出现过,升级到2.1.x可以解决。另外建议升级到最新版 taro-iconfont-cli