antfu-collective / vitesse

🏕 Opinionated Vite + Vue Starter Template

Home Page:https://vitesse.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom composables auto import?

milesingrams opened this issue · comments

This is an awesome template, very straightforward to use!

I was wondering why the composables folder doesn't auto import like vue core and vueuse? It would be really cool if simply defining an export in any file in the composables folder would allow it to be used anywhere. I know Nuxt 3 does this but I moved away from using Nuxt since the beta version has too many bugs to work with currently. This template and tooling on the other hand works beautifully.

Also I noticed that if I forgot to import a custom composable it seems to silently fail. I get no console error.

No rush to answer! Thank you for such an amazing project and set of dev tools.