unimport
unimport copied to clipboard
Auto-Import vue directives
Describe the feature
Hey all 👋🏻
It would be great if Vue directives could be auto-imported when being used.
Example code which should "magically work":
In the component:
<template>
<div v-my-directive>Hey</div>
</template>
Auto-imported file:
export const vMyDirective = {/*...*/}
Additional information
- [X] Would you be willing to help implement this feature?
Sounds good if you managed to implement it :)
I'll look into how and might ping you if I have questions 👀