-
Notifications
You must be signed in to change notification settings - Fork 7
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
Use vue demi to support Vue2 and Vue3 #5
Use vue demi to support Vue2 and Vue3 #5
Conversation
Finally comfortable with this PR @scottrobertson I also updated the README with the changes in usage |
Thanks @sduduzog. I am guessing there is no way around having to use @NuroDev do you have any suggestions around that? |
Nope, all looks good to me 👍🏻 |
Thank you. @sduduzog have you done any integration testing already for Nuxt-Supabase yet or should I do that? |
@scottrobertson I have, in a private repo. All works well, still with the composition-api being a prerequisite. |
I still recommend you test too, I'll create a PR for nuxt-supabase with this branch |
What kind of change does this PR introduce?
Chore: A conditional check for a VueJS version. This attempts to use https://github.com/vueuse/vue-demi as mentioned in #2
What is the current behavior?
Package only supports use in VueJS V2
What is the new behavior?
useSupabase
possible through theprovide/inject
apiAdditional context
This has been manually tested against a Vue 2.x, Vue 3.x (with vue cli and vite) and a nuxt project with a
nuxt-supabase
fork