compatibility @vuejs/composition-api
Dekhnar opened this issue · 6 comments
Hello,
Is it possible to have a version compatible with https://github.com/vuejs/composition-api for an integration with https://github.com/nuxt-community/composition-api ?
It's possible to work with Vue 2.x by using https://github.com/vuejs/composition-api, But it needs some extra work. Do you want to implement it?
On nuxt project cannot use function useForm
it occur TypeError: vue.ref is not a function
@singha-cto Can you provide a demo repo?
@beizhedenglong For error case above comment of @singha-cto
Repo: https://github.com/sabuydee/vue-hooks-form-test
Hello @beizhedenglong, thank you for the library. I really like this API and would like to integrate it into my company's Nuxt2 project. To implement the cross-Vue 2 support feature, I plan to use Vue Demi. I will be submitting a pull request shortly.
@EastSun5566 Your fix has been released https://www.npmjs.com/package/vue-hooks-form?activeTab=versions.