We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
这个 Issue 涉及以下平台:
BUG 描述 Field组件在h5下面build报错, dev没有任何报错信息
复现步骤 clone 复现repo, https://github.com/bingtsingw/antm-reproduce node 版本: 16 安装依赖: npx pnpm@8.15.8 install 编译: npm run build 然后用http-server dist/h5开启服务器访问即可复现
npm run build
http-server dist/h5
期望结果
实际结果
截图
环境
附加信息
The text was updated successfully, but these errors were encountered:
不知道和 #682 有没有关系, 我好像部分页面也遇到过undefined, 不过当时是在dev环境下,不影响程序正常运行,所以没有在意
undefined
Sorry, something went wrong.
感谢 子羽 大佬的debug, 是taro生产构建和组件库commonjs的构建有兼容问题, 暂时修复方法: 在config里面加上webpack的alias
alias: { '@antmjs/vantui/lib/index.less': path.resolve(__dirname, '../node_modules/@antmjs/vantui/lib/index.less'), '@antmjs/vantui': '@antmjs/vantui/es/index', }
No branches or pull requests
这个 Issue 涉及以下平台:
BUG 描述
Field组件在h5下面build报错, dev没有任何报错信息
复现步骤
clone 复现repo, https://github.com/bingtsingw/antm-reproduce
node 版本: 16
安装依赖: npx pnpm@8.15.8 install
编译:
npm run build
然后用
http-server dist/h5
开启服务器访问即可复现期望结果
实际结果
截图
环境
附加信息
The text was updated successfully, but these errors were encountered: