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
我从webpack换成vite打包后,使用amisWidget使用build2lib生成的umd组件,加载的时候报这个错误,请问是什么问题?
The text was updated successfully, but these errors were encountered:
是否能给一个示例项目demo?
Sorry, something went wrong.
按照官网的自定义组件 - React,注册完报错,提示: `Error: 找不到对应的渲染器
Path: page/body/0/crud/dialog/dialog/body/form/7/my-renderer2
{ "type": "my-renderer2", "tip": "简单示例", "body": { "type": "form", "body": [ { "type": "input-text", "label": "用户名", "name": "usename" } ] } }`。 请问如何注册自定义组件呢?
添加完毕自定义组件MyRenderder2.tsx后,需要手工import组件,在程序入口处或者使用的地方import就行,比如在index.tsx里import '@src/componests/MyRenderder2'; , 然后重启服务就行了
import '@src/componests/MyRenderder2';
No branches or pull requests
我从webpack换成vite打包后,使用amisWidget使用build2lib生成的umd组件,加载的时候报这个错误,请问是什么问题?
The text was updated successfully, but these errors were encountered: