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

有没有打算支持注册已经存在的组件 #76

Closed
byte9527 opened this issue Apr 30, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@byte9527
Copy link

commented Apr 30, 2019

如果在项目中存在已写好的自定义表单控件,能不能支持注册后使用。如果使用maker.template,需要重新去定义一次。

@xaboy

This comment has been minimized.

Copy link
Owner

commented May 1, 2019

把自己写好的组件挂载到 Vue上就可以通过自定义组件方式生成

@byte9527

This comment has been minimized.

Copy link
Author

commented May 5, 2019

@xaboy 使用Vue.use 插件的方式?

@xaboy

This comment has been minimized.

Copy link
Owner

commented May 5, 2019

@byte9527 Vue.useVue.component都可以,只要保证挂载在 vue 全局就可以.
下个版本会支持局部挂载 form-create 和给 form-create 挂载自定义组件

@xaboy xaboy closed this May 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.