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
- Host: GitHub
- URL: https://github.com/skybrud/sky-svg
- Owner: skybrud
- License: mit
- Created: 2015-05-22T08:14:45.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-11-29T09:22:14.000Z (over 8 years ago)
- Last Synced: 2023-03-24T12:09:20.315Z (over 3 years ago)
- Language: JavaScript
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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)