Mount
formCreate
Global Mount
Vue.use(formCreate);
Local mount
//Vue component
{
components: {
formCreate: formCreate.$form()
}
}
Custom Components
Components generated by form-create need to be mounted before being built in the following way. All custom components that need to be generated must be mounted before mounting formCreate ::: warning Warning
TestComponent
is a custom component- Mounting components using partial mounting needs to be executed before mounting
form-create
:::
Global Mount
Vue.component(TestComponent);
Local mount
formCreate.component(TestComponent.name, TestComponent);