unplugin / unplugin-icons

🤹 Access thousands of icons as components on-demand universally.
https://www.npmjs.com/package/unplugin-icons
MIT License
3.65k stars 131 forks source link

fix: handle icons with `:` in component resolver #316

Closed userquin closed 8 months ago

userquin commented 8 months ago

Description

Add logic to handle icon components with : in the name: camelToKebab replaces the : with - and there is no way to extract the collection properly when there is a collision (check linked issue)

Linked Issues

closes #314

Additional context

stackblitz[bot] commented 8 months ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.