cretueusebiu / vform

Handle Laravel-Vue forms and validation with ease.
https://vform.vercel.app
MIT License
610 stars 122 forks source link

Use with Vue3 #145

Open ishratali1997 opened 1 year ago

ishratali1997 commented 1 year ago

How to use vform with Vue3 using syntax like

when I use this , v-modal/two way binding does not work.

jamalsaidapp commented 1 year ago

try to make the variable reactive and it will work.

import { reactive } from 'vue'
import Form from 'vform'

export default {
    setup() {
      const form = reactive( new Form( {
    name: null,
      } ) )
    }
}
fawel11 commented 1 year ago

What with Nuxt 3?