You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to having unplugin-vue-components, it might be worth including unplugin-auto-import within Iles by default so that APIs can be auto-imported on demand.
unplugin-auto-import is a wrapper on top of https://github.com/unjs/unimport which is used by Nuxt's auto-import as well, and is well-maintained.
Also would be good to have this exposed as a config (for eg, autoImportAPIs), so that presets can be extended by users as required. These presets can be those shipped within unplugin-auto-import & those shipped part of libraries.
Something similar to vite's mergeConfig could be used to merge default & overrides.
Similar to having unplugin-vue-components, it might be worth including unplugin-auto-import within Iles by default so that APIs can be auto-imported on demand.
unplugin-auto-import is a wrapper on top of https://github.com/unjs/unimport which is used by Nuxt's auto-import as well, and is well-maintained.
Sensible presets for this plugin are: vue & vue-router (another nice alternative would be https://github.com/posva/unplugin-vue-router which is next-gen)
This could be a nice supplement if we decide to turn off reactivityTransform by default.
The text was updated successfully, but these errors were encountered: