Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rwu823/vue-ss

SVG sprites Component for VueJS
https://github.com/rwu823/vue-ss

Last synced: about 1 month ago
JSON representation

SVG sprites Component for VueJS

Awesome Lists containing this project

README

        

[![version](https://img.shields.io/npm/v/vue-ss.svg?label=version)](https://www.npmjs.org/package/vue-ss) [![Build Status](https://img.shields.io/travis/rwu823/vue-ss.svg?branch=master)](https://travis-ci.org/rwu823/vue-ss/) [![Coverage](https://img.shields.io/coveralls/rwu823/vue-ss.svg)](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

```