Skip to content

Commit

Permalink
build(deps): unplugin-icon autoinstall @iconify-json [unplugin-icon自动…
Browse files Browse the repository at this point in the history
…安装@iconify-json]
  • Loading branch information
honghuangdc committed Sep 23, 2022
1 parent 811f820 commit c045e3f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build/plugins/unplugin.ts
Expand Up @@ -24,7 +24,8 @@ export default function unplugin(viteEnv: ImportMetaEnv) {
[collectionName]: FileSystemIconLoader(localIconPath)
},
scale: 1,
defaultClass: 'inline-block'
defaultClass: 'inline-block',
autoInstall: true
}),
Components({
dts: 'src/typings/components.d.ts',
Expand Down
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -82,7 +82,10 @@
"@amap/amap-jsapi-types": "^0.0.8",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@iconify/json": "^2.1.111",
"@iconify-json/ant-design": "^1.1.3",
"@iconify-json/clarity": "^1.1.4",
"@iconify-json/ph": "^1.1.2",
"@iconify-json/uil": "^1.1.2",
"@iconify/vue": "^4.0.0",
"@milahu/patch-package": "^6.4.14",
"@types/bmapgl": "^0.0.5",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/svg-icon/no-icon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c045e3f

Please sign in to comment.