nuxt / icon

The <Icon> component, supporting Iconify, Emojis and custom components.
https://stackblitz.com/edit/nuxt-icon-playground?file=app.vue
MIT License
961 stars 59 forks source link

fix(components): fixed duplicate icon class names #291

Closed JeffesJiang closed 1 month ago

JeffesJiang commented 1 month ago

Configuring classes in app.config.ts may result in two duplicate class names for the component

๐Ÿ”— Linked issue

โ“ Type of change

๐Ÿ“š Description

Removed the passthrough classes from CSS components and SVG components, only using classes in the icon component, resolving the issue of duplication caused by double-layer passthrough in Vue components.