Content-Length: 299960 | pFad | https://github.com/vueComponent/ant-design-vue-nuxt/commit/88a850d

15 chore: test info · vueComponent/ant-design-vue-nuxt@88a850d · GitHub
Skip to content

Commit 88a850d

Browse files
committed
chore: test info
1 parent 08ba5e6 commit 88a850d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

playground/nuxt.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ export default defineNuxtConfig({
22
modules: ['../src/module'],
33

44
antd: {
5-
extractStyle: true
5+
extractStyle: true,
66
},
77

88
imports:{
99
autoImport: true
1010
},
1111

1212
compatibilityDate: '2024-09-27'
13-
})
13+
})

src/core/components.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ export const resolveComponents = (config:Options) =>{
2020
})
2121
}
2222
})
23+
if (icons === false){
24+
return
25+
}
2326

24-
const allIcons = icons === false ? [] : icons;
25-
allIcons.forEach(icon=>{
27+
icons.forEach(icon=>{
2628
if (typeof icon === 'string'){
2729
addComponent({
2830
export: icon,

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/vueComponent/ant-design-vue-nuxt/commit/88a850d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy