-
-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Pause on New Resolvers | ||
|
||
Thank you for your interest in contributing to this project! | ||
|
||
Due to the maintenance burden of new resolvers, **⚠️ we no longer accept new resolvers** adding to this repo. | ||
|
||
Instead, we suggest UI libraries to maintain and publish their own resolvers, as the resolvers are more coupled to their structure. | ||
|
||
We recommend to have it under a submodule, or publish as a separate package. | ||
|
||
```ts | ||
import Components from 'unplugin-vue-components' | ||
import MyLibResolver from 'my-lib/auto-import-resolver' // <-- | ||
export default defineConfig({ | ||
plugins: [ | ||
Components({ | ||
resolvers: [ | ||
MyLibResolver | ||
] | ||
}) | ||
] | ||
}) | ||
``` | ||
|
||
Even for existing resolvers, we would also recommend to move them to their own packages to have the faster release cycle. Once you have done so, we are happy to accept PR to deprecate and forward the resolver to your package. | ||
|
||
Thanks you. |