Skip to content

Vue 2.7 compatibility - #148

Closed
vetruvet wants to merge 2 commits into
vueuse:v1from
vetruvet:vue27-compatibility
Closed

vetruvet wants to merge 2 commits into
vueuse:v1from
vetruvet:vue27-compatibility

Conversation

@vetruvet

Copy link
Copy Markdown
Contributor

Fixed #141 .

Adds a Vue 2 plugin to mimic vue3's provide and globalProperties. Based loosely off how it's done in Pinia.

@harlan-zw this fixes the new other new init issues I was seeing in rc.12.

@harlan-zw

harlan-zw commented Oct 21, 2022 •

Copy link
Copy Markdown
Collaborator

Hey @vetruvet

Thanks for the contribution! It looks good

I'll need to do some testing with your PR though. I'd be nice to have some tests set up and/or a playground for Vue 2. I'm away for the weekend so won't be able to do that until Monday.

@harlan-zw

Copy link
Copy Markdown
Collaborator

Hey @vetruvet

Have moved this PR to #150 as I wasn't able to modify this one, the option to modify your PR seems to be disabled and I don't have the full admin of the repo.

Will close this, see other PR for changes.

@harlan-zw harlan-zw closed this Oct 25, 2022
@vetruvet

Copy link
Copy Markdown
Contributor Author

No problem, thanks for taking this across the finish line!

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

Successfully merging this pull request may close these issues.

2 participants