8000 docs: pause on new resolvers · unplugin/unplugin-vue-components@5df0c0e · GitHub
[go: up one dir, main page]

Skip to content

Commit 5df0c0e

Browse files
committed
docs: pause on new resolvers
1 parent 359866c commit 5df0c0e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Pause on New Resolvers
2+
3+
Thank you for your interest in contributing to this project!
4+
5+
Due to the maintenance burden of new resolvers, **⚠️ we no longer accept new resolvers** adding to this repo.
6+
7+
Instead, we suggest UI libraries to maintain and publish their own resolvers, as the resolvers are more coupled to their structure.
8+
9+
We recommend to have it under a submodule, or publish as a separate package.
10+
11+
```ts
12+
import Components from 'unplugin-vue-components'
13+
import MyLibResolver from 'my-lib/auto-import-resolver' // <--
14+
15+
export default defineConfig({
16+
plugins: [
17+
Components({
18+
resolvers: [
19+
MyLibResolver
20+
]
21+
})
22+
]
23+
})
24+
```
25+
26+
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.
27+
28+
Thanks you.

0 commit comments

Comments
 (0)
0