Library build change to Vite, potential breaking changes
As of v2.0.0 of vue3-icon, Vite is being used to create the library files. The file paths are now:
Module | Location |
---|---|
CommonJS | dist/vue3-icon.cjs.js |
ESM | dist/vue3-icon.es.js |
UMD | dist/vue3-icon.umd.js |
All scripts are minified by default with supporting .map
files
FontAwesome support
A new prop fa-icon
allows you to directly use SVG files imported from FontAwesome's various library packs.
- @fortawesome/free-solid-svg-icons
- @fortawesome/free-regular-svg-icons
- @fortawesome/free-brands-svg-icons
See README for usage details