-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pnpm@v6.34; Taro@v3.5.3 图标不显示 #78
Comments
我也遇到这个问题 但是我执行npx iconfont-taro 并没有恢复显示 |
执行后重启下项目会恢复,再重启项目才会不展示,看 wxml, iconfont 标签下会没有节点 |
确定 小程序没有生成节点 |
"dependencies": { |
@fwh1990 作者能帮忙看下么? |
是啊,看了编译后的文件,view wx:if="{{name === xxx}}" 貌似name并没有传进iconfont组件,所以层层if语句并没有一个条件满足,所以不显示 view 标签了 |
关键是我用yarn 安装 也不行啊,感觉跟包管理工具没关系 |
|
小弟遇到的问题是提示 |
跟taro的config/index.js cache配置有关, cache.enable 改成false就行了,开启缓存在第二次编译就没有了 |
有效果 |
可是本地开发也要开启缓存,wuwu |
版本信息:
复现步骤:
ps: pnpm^7 版本没有此问题
The text was updated successfully, but these errors were encountered: