@ray-solutions/v-form-builder
Version:
Vue Form Builder PRO MAX built from top of Vue. Super dynamic and flexible including Drag and Drop feature.
22 lines (18 loc) • 659 B
text/typescript
/**
* NOTE - This file only exists for development purpose.
* It will help me to run and test the form
*/
import { createApp } from 'vue';
import App from './App.vue';
// @ts-ignore
import { VueFormBuilderPlugin } from "@/index";
import { IRegisterProperties } from "@/interfaces/register-properties.interface";
const configOptions : IRegisterProperties = {
disableControls: [], // ['input', 'number']
globalInjection: true,
validationErrorShowAlert: true,
validationErrorAlertText: "Please check the error messages and solve it."
};
const app = createApp(App)
app.use(VueFormBuilderPlugin, configOptions)
app.mount('#app')