diff --git a/CHANGELOG.md b/CHANGELOG.md index e5329f3..142a97e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## v1.4.4 + +[compare changes](https://github.com/vueComponent/ant-design-vue-nuxt/compare/v1.4.3...v1.4.4) + +### 🏡 Chore + +- Test info ([88a850d](https://github.com/vueComponent/ant-design-vue-nuxt/commit/88a850d)) + +### ❤️ Contributors + +- Aibayanyu20 + ## v1.4.3 [compare changes](https://github.com/vueComponent/ant-design-vue-nuxt/compare/v1.4.2...v1.4.3) diff --git a/package.json b/package.json index a167c03..fcf29b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ant-design-vue/nuxt", - "version": "1.4.3", + "version": "1.4.4", "description": "ant-design-vue-nuxt module", "repository": "vueComponent/ant-design-vue-nuxt", "license": "MIT", diff --git a/playground/nuxt.config.ts b/playground/nuxt.config.ts index 8efce2c..8cf4a64 100644 --- a/playground/nuxt.config.ts +++ b/playground/nuxt.config.ts @@ -2,7 +2,7 @@ export default defineNuxtConfig({ modules: ['../src/module'], antd: { - extractStyle: true + extractStyle: true, }, imports:{ @@ -10,4 +10,4 @@ export default defineNuxtConfig({ }, compatibilityDate: '2024-09-27' -}) \ No newline at end of file +}) diff --git a/src/core/components.ts b/src/core/components.ts index 3ab0ee8..51aa945 100644 --- a/src/core/components.ts +++ b/src/core/components.ts @@ -20,9 +20,11 @@ export const resolveComponents = (config:Options) =>{ }) } }) + if (icons === false){ + return + } - const allIcons = icons === false ? [] : icons; - allIcons.forEach(icon=>{ + icons.forEach(icon=>{ if (typeof icon === 'string'){ addComponent({ export: icon,