opnform/client/composables/useForm.js

6 lines
136 B
JavaScript

import Form from "~/composables/lib/vForm/Form.js"
export const useForm = (formData = {}) => {
return reactive(new Form(formData))
}