Open xiexikang opened 3 years ago
欢迎提交 Issue~
如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏
如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。
Good luck and happy coding~
这几个依赖安装下试试。
@xiexikang vue 的话试一下这个 http://taro-ui-vue.fontend.com/#/docs/introduction
问题描述 我的taro版本是3.0.17,taro-ui是2.3.4 ,换了^3.0.0-alpha.3也还是无法正常运行 ,
复现步骤
config/index.js h5: { esnextModules: ['taro-ui'] }
app.js
import 'taro-ui/dist/style/index.scss' import { AtButton } from 'taro-ui' console.log(AtButton) (加这些就报错,去除就没事, 那应该是taro版本和taro-ui的问题)
报错信息 Failed to compile. ./node_modules/taro-ui/dist/index.umd.js Module not found: Can't resolve 'react' in 'D:\www-xxk\my-taro\myApp\node_modules\taro-ui\dist'
系统信息
有没有大佬知道怎么回事呐?感谢