- 在用微信小程序开发过程中引入vant过程中,导入button组件出现错误。
- 按着文档各种配置都配了。如:
- project.config.json的配置。
- 构建。
- 包括没有npm构建按钮。
- project.config.json的配置。
- 最后发现了问题,我的项目是ts项目,所以需要引入ts的配置才能使用(官网的配置)。
- 成功。
微信小程序出现miniprogram/app.json: [“usingComponents“][“van-button“]:““@vant/weapp/button/index”未找到
猜你喜欢
转载自blog.csdn.net/weixin_38441229/article/details/132583126
今日推荐
周排行