# Mount

# formCreate

How to import 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

Global Mount

// Custom components
Vue.component(TestComponent);
//or
formCreate.component(TestComponent.name, TestComponent);

Vue.use(formCreate);

Local mount

// Custom components
formCreate.component(TestComponent.name, TestComponent);

//Vue component
{
    components: {
        formCreate: formCreate.$form()
    }
}