vueuse-vue2-example icon indicating copy to clipboard operation
vueuse-vue2-example copied to clipboard

Demo doesn't work

Open MinSomai opened this issue 3 years ago • 2 comments

Here's the forked sandbox.

https://codesandbox.io/s/github/vueuse/vueuse-vue2-example/tree/master/?file=/src/App.vue

and this is the first error. Error in data(): "TypeError: vueDemi.ref is not a function"

This is happening in my local project too.

Composition API works fine if I remove vueuse.

MinSomai avatar Dec 23 '21 06:12 MinSomai

I'm curious in this demo source code.

I can't find the code to install the Vue 2 Composition API (Vue.use(VueCompositionAPI)), so how can the composition API works out of the box? 🤔 CMIIW.

chenxeed avatar Jan 11 '22 03:01 chenxeed

I'm curious in this demo source code.

I can't find the code to install the Vue 2 Composition API (Vue.use(VueCompositionAPI)), so how can the composition API works out of the box? thinking CMIIW.

tried that too. doesn't seem to budge.

MinSomai avatar Jan 12 '22 05:01 MinSomai