vueuse / vueuse-vue2-example

VueUse + Vue 2 + Vue CLI working example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not a Vue2 example

emahuni opened this issue · comments

I thought this was supposed to be a Vue2 example, but it's not

What do you mean "not a Vue2 example"?

I mean just that. Pure Vue 2 doesn't use composition API. I've a project that is strictly Vue 2 and I was expecting normal Vue single file component code in the example and the example isn't Vue 2, but 3. Please check what I mean and correct. You rock by the way.

I can fiddle and write the correct syntax, but was just wondering how you'd envisioned the correct syntax as the author or maintainer since it's mentioned in the documentation that is seamless between Vue 2 and 3.

This is the example of using VueUse with Vue 2. Not "general for Vue 2".