An open API service indexing awesome lists of open source software.

https://github.com/skybrud/sky-svg

Module for creating vue components from many svgs using vue-svg-loader
https://github.com/skybrud/sky-svg

Last synced: 8 months ago
JSON representation

Module for creating vue components from many svgs using vue-svg-loader

Awesome Lists containing this project

README

          

# SkySvg
Dynamically inline svgs using vue-svg-loader

### Usage
Automatically imports svgs from path: `svgs/${name}.svg` and creates components from each. Components are prefixed with `Svg` (or `svg-` if you prefer kebab-case).

```html

Eg.

etc.
```

### Dependencies
- [vue-svg-loader](https://github.com/visualfanatic/vue-svg-loader)
- [vue-template-compiler](https://www.npmjs.com/package/vue-template-compiler) (peer dependency of vue-svg-loader)