Skip to content

Commit af8a7a0

Browse files
committed
Merge branch 'main' into feat/unplugin
2 parents 630c2f2 + 0530770 commit af8a7a0

File tree

7 files changed

+1620
-1017
lines changed

7 files changed

+1620
-1017
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,16 @@ Supported Resolvers:
153153

154154
- [Ant Design Vue](https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/antdv.ts)
155155
- [Element Plus](https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/element-plus.ts)
156+
- [Element UI](https://github.com/antfu/unplugin-vue-components/blob/main/src/resolvers/element-ui.ts)
156157
- [Headless UI](https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/headless-ui.ts)
158+
- [IDux](https://github.com/antfu/unplugin-vue-components/blob/main/src/resolvers/idux.ts)
157159
- [Naive UI](https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/naive-ui.ts)
158160
- [Prime Vue](https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/prime-vue.ts)
159161
- [Vant](https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/vant.ts)
160162
- [Varlet UI](https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/varlet-ui.ts)
163+
- [View UI](https://github.com/antfu/unplugin-vue-components/blob/main/src/resolvers/view-ui.ts)
161164
- [Vuetify](https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/vuetify.ts)
162165
- [VueUse Components](https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/vueuse.ts)
163-
- [View UI](https://github.com/antfu/unplugin-vue-components/blob/main/src/resolvers/view-ui.ts)
164-
- [Element UI](https://github.com/antfu/unplugin-vue-components/blob/main/src/resolvers/element-ui.ts)
165166

166167
```ts
167168
// vite.config.js
@@ -214,7 +215,7 @@ Components({
214215

215216
// generate `components.d.ts` global declrations,
216217
// also accepts a path for custom filename
217-
globalComponentsDeclaration: false,
218+
dts: false,
218219

219220
// Allow subdirectories as namespace prefix for components.
220221
directoryAsNamespace: false,

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"*.d.ts"
5151
],
5252
"scripts": {
53-
"build": "rimraf dist && tsup 'src/*.ts' --format cjs,esm --dts && esno scripts/postbuild.ts",
54-
"dev": "tsup 'src/*.ts' --format cjs,esm --watch src",
53+
"build": "rimraf dist && tsup src/*.ts --format cjs,esm --dts && esno scripts/postbuild.ts",
54+
"dev": "tsup src/*.ts --format cjs,esm --watch src",
5555
"example:build": "npm -C examples/vue3 run build",
5656
"example:dev": "npm -C examples/vue3 run dev",
5757
"prepublishOnly": "npm run build",
@@ -76,6 +76,7 @@
7676
"@types/minimatch": "^3.0.5",
7777
"@types/node": "^16.6.1",
7878
"@typescript-eslint/eslint-plugin": "^4.29.1",
79+
"compare-versions": "^3.6.0",
7980
"eslint": "^7.32.0",
8081
"jest": "^27.0.6",
8182
"rollup": "^2.56.2",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy