Content-Length: 299960 | pFad | https://github.com/vueComponent/ant-design-vue-nuxt/commit/88a850d
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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,
Fetched URL: https://github.com/vueComponent/ant-design-vue-nuxt/commit/88a850d
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments