BlameDeng / vue-viewer-icons

Vue wrapper for svgs from @itwin/itwinui-icons
https://blamedeng.github.io/vue-viewer-icons
MIT License
0 stars 0 forks source link

Consider using icon webcomponents #1

Open mayank99 opened 2 years ago

mayank99 commented 2 years ago

Hi, I see this package is wrapping the svgs in vue components using generate.js. While it works, this script will need to be re-run every time a new version of @itwin/itwinui-icons is published.

There is a webcomponents icons package called @itwin/itwinui-icons-elements, which you might consider using instead of creating vue wrappers. The only reason we use React wrappers is the poor support for webcomponents in React. But Vue has good support for webcomponents so you should be good.

Cheers!

BlameDeng commented 2 years ago

Thanks, I'll try it.