We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08ba5e6 commit 88a850dCopy full SHA for 88a850d
playground/nuxt.config.ts
@@ -2,12 +2,12 @@ export default defineNuxtConfig({
2
modules: ['../src/module'],
3
4
antd: {
5
- extractStyle: true
+ extractStyle: true,
6
},
7
8
imports:{
9
autoImport: true
10
11
12
compatibilityDate: '2024-09-27'
13
-})
+})
src/core/components.ts
@@ -20,9 +20,11 @@ export const resolveComponents = (config:Options) =>{
20
})
21
}
22
23
+ if (icons === false){
24
+ return
25
+ }
26
- const allIcons = icons === false ? [] : icons;
- allIcons.forEach(icon=>{
27
+ icons.forEach(icon=>{
28
if (typeof icon === 'string'){
29
addComponent({
30
export: icon,
0 commit comments