Skip to content
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

使用registerAmisEditorPlugin创建插件提示类型错误无法渲染 #33

Closed
qyh613 opened this issue Aug 31, 2023 · 2 comments
Closed

Comments

@qyh613
Copy link

qyh613 commented Aug 31, 2023

20230831103120
image

是不是需要 registerRendererByType 注册 amis 组件?
使用 registerRendererByType 创建的组件 怎么挂载到 amis-editor 组件上

@qyh613
Copy link
Author

qyh613 commented Aug 31, 2023

registerRendererByType 如何注册vue3组件,还是只能注册react组件

@wibetter
Copy link
Collaborator

wibetter commented Sep 4, 2023

@qyh613 还需要 registerRendererByType 注册 amis 组件,然后再通过registerAmisEditorPlugin挂载到amis-editor中。具体细节可以看下这个文档:https://aisuda.github.io/aisuda-docs/NPM%E7%BB%84%E4%BB%B6%E6%89%A9%E5%B1%95%E5%8C%85/%E5%8A%9F%E8%83%BD%E4%BB%8B%E7%BB%8D

@wibetter wibetter closed this as completed Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants