Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork41
Infer Component Name from.vue
filename #86
Description
I can't find it in the<script setup>
docs at the moment, but I followed thescript setup
spec pretty closely, and I could havesworn that thename
field of the component options is inferred from the name of the.vue
file whenscript setup
is used in Vue3. Can that functionality be added here? I've actually usedpatch-package
to patch the transform to enable that functionality in my own dev environment, but I'd love to get it merged into the package proper, so that I don't have to maintain a patch file as I upgrade to different versions of this plugin.
I'd be happy to do the PR myself, if that would be helpful and if this was functionality you'd be ok with adding to the core plugin functionality.