SvelteKit: Auto import src/components
MentalGear opened this issue · comments
MentalGear commented
I'm struggling for how to define custom paths/folders to auto import files from. For example, using sveltekit, I would like to have all files in /components detected for importing. (I tried to use "Custom Resolvers" but it lacks a clear example - only links to a pull request.)
paulalbertdev commented
Don't you want this https://github.com/antfu/unplugin-vue-components ?
Anthony Fu commented
Auto importing for components is out-of-scope of this plugin.
MentalGear commented
So this only auto imports functions/vars, not component files?
Would be nice, to avoid confusion, to have the scope clearly stated in the readme .