vueuse/vueuse-vue2-example

Demo doesn't work

MinSomai opened this issue · 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.

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.

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.