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? 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
问题的根源在于自定义组件的 props 不是直接传递的,而是经过 js 文件内的 renderProps。
https://github.com/MillCloud/presets/tree/main/uni-app
/
npm
The text was updated successfully, but these errors were encountered:
🤔 这个问题的复杂度远超我的想象(毕竟我是个废物 😅
目前用 babel 做的思路和部分初步实现
renderPropsExportName
解析 AST 找到导入 vendor.js 得到的变量 commonVendorName,然后找到对应的调用,再修改对应的值
commonVendorName
复杂性源于对应的值有很多可能性:
目前打算先支持 string 和 object,其它类型延后处理。
最后向 babel 致敬 🫡
Sorry, something went wrong.
0.14.0-0 已经发布,支持 string
0.14.2 已经发布,支持 object
No branches or pull requests
描述问题
问题的根源在于自定义组件的 props 不是直接传递的,而是经过 js 文件内的 renderProps。
复现
https://github.com/MillCloud/presets/tree/main/uni-app
系统信息
使用的包管理器
npm
核对
The text was updated successfully, but these errors were encountered: