0.2.5 • Published 1 year ago
nuxt-svg-transformer v0.2.5
Nuxt SVG transformer
A Nuxt 3 module to manage SVG as icons, transform SVG to inject dynamically into Vue component, type included.
Features
- Nuxt 3 support
- 🔎 Vue component ready with
SvgIcon
- 🔥 Hot reloading when SVG updated
- 🤙🏻 Reactivity option
- 🗂 Seperated index SVG files
- 📦 No import needed, SVG directly injected
- 🎨 Options to add or clear
style
andclass
global attributes - 🦾 SVG typed, validate by
name
prop (typescript
required)
Usage
See documentation.
Local
Installation
- Clone repository
- Install dependencies using
pnpm i
- Prepare using
pnpm dev:prepare
- Try playground using
pnpm dev
Testing
Create a tgz
.
rm -f ~/nuxt-svg-transformer-*.tgz && npm pack && mv nuxt-svg-transformer-*.tgz ~/
Add it to your Nuxt app.
{
"devDependencies": {
"nuxt-svg-transformer": "file:~/nuxt-svg-transformer-0.0.9.tgz"
}
}
More typescript in your app?
Try nuxt-typed-link to get typed link into your app.
License
MIT - Made with 💚
0.2.0
1 year ago
0.2.3
1 year ago
0.1.4
1 year ago
0.2.5
1 year ago
0.2.4
1 year ago
0.1.5
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago
0.0.10
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.51
1 year ago
0.0.5
1 year ago
0.0.44
1 year ago
0.0.43
1 year ago
0.0.42
1 year ago
0.0.41
1 year ago
0.0.4
1 year ago
0.0.31
1 year ago
0.0.3
1 year ago
0.0.25
1 year ago
0.0.24
1 year ago
0.0.23
1 year ago
0.0.22
1 year ago
0.0.21
1 year ago
0.0.2
1 year ago
0.0.14
1 year ago
0.0.13
1 year ago
0.0.12
1 year ago
0.0.11
1 year ago
0.0.1
1 year ago