Skip to content

Conversation

Justineo
Copy link
Contributor

This PR resolves #41.

declare const Vue2: Vue
declare const version: string
declare const install: (vue?: Vue) => void
/** @deprecated */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/** @deprecated */
/**
* @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
* Refer to https://github.com/vueuse/vue-demi/issues/41
*/

@Justineo Justineo marked this pull request as draft February 26, 2021 16:32
@antfu antfu marked this pull request as ready for review February 27, 2021 08:59
@antfu antfu changed the title feat: add Vue2 export and deprecate Vue feat!: add Vue2 export and deprecate Vue Feb 27, 2021
@antfu antfu merged commit 3620a54 into vueuse:master Feb 27, 2021
@Justineo Justineo deleted the add-vue2 branch August 9, 2022 03:19
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.

[Discussion] Shall we add something like Vue2 to vue-demi's export?

2 participants