You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will import the local urls of all icons and allow you to reference them by name without importing them individually:
view.add(<Iconname={'face'}/>);
Note that ICONS_PATH is relative to the current file.
Using static assets.
You can create a public directory in your project and copy all the icons you want to use over there.
Vite will then resolve absolute paths to that directory:
Description
Support for a full offline icon library would be much appreciated (Like Material Design Icons or font awesome community)
Love your library but my use case is in an airgapped environment and the ICONES support won't work.
As such, I have to import many SVGs for each scene by hand and greatly decreases the template/example time.
Thanks!
The text was updated successfully, but these errors were encountered: