https://github.com/rwu823/vue-ss
SVG sprites Component for VueJS
https://github.com/rwu823/vue-ss
Last synced: 5 months ago
JSON representation
SVG sprites Component for VueJS
- Host: GitHub
- URL: https://github.com/rwu823/vue-ss
- Owner: rwu823
- License: mit
- Created: 2016-07-10T13:23:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T11:34:11.000Z (over 1 year ago)
- Last Synced: 2025-02-08T02:48:19.294Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.org/package/vue-ss) [](https://travis-ci.org/rwu823/vue-ss/) [](https://coveralls.io/github/rwu823/vue-ss)
# vue-ss
SVG sprites Component for `` id, it is based on VueJS## Install
```sh
npm i --save vue-ss
```## Usage
```javascript
// app.vue
import Icon from 'vue-ss'
module.exports = {
components: {
Icon
}
}```
## Props
```javascript
props: {
size: {
type: [String, Number],
default: '20x20'
},typ: {
type: String,
required: true,
default: 'add',
}
},
```## Colorize
The component exports as standrad `` tag, you can thro `fill` attribute to colorize it free
```javascript
```