- Improvement: Moved to ESM-first package
- Feature: Refactored Path rendering to improve compatibility with later Vue versions
- Feature: New props for
no-styles
,no-dimensions
andno-namespace
- Feature: Added IIFE build to output
- Improvement: Added JSDoc type build
- Added support for custom icons with path arrays
- Path arrays can also be arrays of objects.
- Property
type
is nowmdi
by default, rather thannull
- Bumped all dependencies
- DEV: Switched to
Vitest
for component tests
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 |