Mount

formCreate

How to import formCreate

Global Mount

  1. Vue.use(formCreate);

Local mount

  1. //Vue component
  2. {
  3. components: {
  4. formCreate: formCreate.$form()
  5. }
  6. }

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

  1. TestComponent is a custom component
  2. Mounting components using partial mounting needs to be executed before mounting form-create :::

Global Mount

  1. Vue.component(TestComponent);

Local mount

  1. formCreate.component(TestComponent.name, TestComponent);