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

fix(vueuse): remove "use" prefix in directive #539

Merged

Conversation

david50407
Copy link
Contributor

Description

In VueUse, name of directive is not containing use-prefix, e.g. useElementSize -> vElementSize (not vUseElementSize).

In this PR, I remove the prefixed Use in directive's name in VueUseDirectiveResolver, so that we can auto-import these directives properly.

Linked Issues

Additional context

@antfu antfu merged commit 288644b into unplugin:main Nov 1, 2022
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.

None yet

3 participants