-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
使用微信原生组件json文件配置了不生效,编译后微信小程序的json就变成{"component":true,"usingComponents":{}} #17005
Comments
已经找到解决方案 在app.config添加配置即可
|
This was referenced Dec 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
小程序基础库: 3.4.7
使用框架: React
复现步骤
在commponts新建一个 studentAuth原生组件
studentAuth.json的内容如下
studentAuth.wxml内容如下
手动在小程序里加上这个导入就可以正常调用 但是实际被覆盖
编译后变成
{"component":true,"usingComponents":{}}
手动改后每次也是被覆盖 希望给个解决方案期望结果
希望在taro原生组件页面改json后,小程序也生效
实际结果
改完被覆盖没有生效
环境信息
The text was updated successfully, but these errors were encountered: