Dynamic form generator for Vue 3.
npm install @toneflix/vue-forms

A dynamic form generator for Vue 3. - See a live demo here (coming soon).
Read the full documentation here (coming soon)
``bash`
npm install @toneflix/vue-forms
#or
yarn add @toneflix/vue-forms
#or
pnpm add @toneflix/vue-forms
You can make @toneflix/vue-forms available throughout your Vue project.
main.js or main.ts
`js
import '@toneflix/vue-forms/dist/lib/style.css'
import { createApp } from 'vue'
import App from './app.vue'
import VueForms from '@toneflix/vue-forms'
const app = createApp(App)
app.use(VueForms)
app.mount('#app')
`
You can also import the component in your Vue component.
SomeComponent.vue
`vue`
SomeComponent.vue
`vue
separator
show-group-labels
style="margin: 0 auto; padding: 1rem;"
:fields="formFields"
:groupMeta="{
main: {
title: 'Main Form',
subtitle: 'These are the main options',
rounded: true
},
alt: {
title: 'Alternative Form',
subtitle: 'These are the alternative options',
rounded: true
}
}"
v-model="formValues"
@cancel="console.log('cancel')"
@submit="console.log('submit')"
v-model="formValues"
/>
``