vue-hooks-form icon indicating copy to clipboard operation
vue-hooks-form copied to clipboard

compatibility @vuejs/composition-api

Open Dekhnar opened this issue 4 years ago • 4 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 ?

Dekhnar avatar May 12 '21 09:05 Dekhnar

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?

beizhedenglong avatar May 12 '21 11:05 beizhedenglong

On nuxt project cannot use function useForm it occur TypeError: vue.ref is not a function

singha-cto avatar Jun 03 '21 09:06 singha-cto

@singha-cto Can you provide a demo repo?

beizhedenglong avatar Jun 10 '21 08:06 beizhedenglong

@beizhedenglong For error case above comment of @singha-cto Repo: https://github.com/sabuydee/vue-hooks-form-test

sabuydee avatar Jun 10 '21 09:06 sabuydee

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 avatar Jan 13 '23 12:01 EastSun5566

@EastSun5566 Your fix has been released https://www.npmjs.com/package/vue-hooks-form?activeTab=versions.

beizhedenglong avatar Jan 14 '23 17:01 beizhedenglong