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

Allow extending auto-imports config #190

Open
harlan-zw opened this issue Aug 29, 2022 · 1 comment · May be fixed by #199
Open

Allow extending auto-imports config #190

harlan-zw opened this issue Aug 29, 2022 · 1 comment · May be fixed by #199
Labels
enhancement New feature or request

Comments

@harlan-zw
Copy link

harlan-zw commented Aug 29, 2022

Is your feature request related to a problem? Please describe.

As far as I'm aware, there's no way to extend the auto-import functions used by iles.

It would be useful for devs as they could auto-import from specific folders easily (e.g Nuxt auto-imports composables dir), as well as module authors who can register auto-imported functions.

Describe the solution you'd like

A config similar to components which can easily be extended

Describe alternatives you've considered

Don't mind the implementation

Additional context
Add any other context or screenshots about the feature request here.

@ElMassimo ElMassimo added the enhancement New feature or request label Aug 29, 2022
@ElMassimo
Copy link
Owner

Hi Harlan! Thanks for the suggestion!

The auto-import logic in îles is very rudimentary. It works for the intended purposes, but it's not something that can be easily extended at the moment.

It might be worth replacing this with unplugin-auto-import internally, in which case we could expose configuration options, as is the case with unplugin-vue-components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants