Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo doesn't work #14

Open
MinSomai opened this issue Dec 23, 2021 · 2 comments
Open

Demo doesn't work #14

MinSomai opened this issue Dec 23, 2021 · 2 comments

Comments

@MinSomai
Copy link

MinSomai commented Dec 23, 2021

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 MinSomai changed the title Property or method "x" is not defined on the instance but referenced during render. This is happening for all of the data values. Demo doesn't work Dec 24, 2021
@chenxeed
Copy link

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.

@MinSomai
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants