Browse Source

feat(nc-gui): disable icon autoInstall & add enabledCollections to IconsResolver

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
58bd97794c
  1. 18
      packages/nc-gui/nuxt.config.ts

18
packages/nc-gui/nuxt.config.ts

@ -62,7 +62,7 @@ export default defineNuxtConfig({
runtimeOnly: false,
}),
Icons({
autoInstall: true,
autoInstall: false,
compiler: 'vue3',
defaultClass: 'nc-icon',
}),
@ -74,6 +74,22 @@ export default defineNuxtConfig({
}),
IconsResolver({
prefix: false,
enabledCollections: [
'ant-design',
'bi',
'cil',
'clarity',
'eva',
'ic',
'logos',
'lucide',
'material-symbols',
'mdi',
'mi',
'ph',
'ri',
'system-uicons',
],
}),
],
}),

Loading…
Cancel
Save