vue-multiple-icon
v1.0.0
Published
Vue-based icon component
Downloads
7
Readme
icon
Vue-based icon component
Install
npm install vue-multiple-icon -S
Quick Start
import Vue from 'vue'
import VmIcon from 'vue-multiple-icon'
import 'vue-multiple-icon/lib/icon.css'
Vue.component(VmIcon.name, VmRate)
Usage
<vm-icon type="load-a"></vm-icon>
API
| Property | Description | Type | Default | | ----- | ----- | ----- | ----- | | tag | Name of tag. | String | i | | type | Name of icon. | String | - | | size | Size of icon.(you need specify the unit, default is px) | Number/String | - | | color | Color of icon. | String | - |
For more information, please refer to Icon in our documentation.
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run demo:dev
# build for demo with minification
npm run demo:build
# build for gh-pages with minification
npm run demo:prepublish
# build for production with minification
npm run build
# generate gh-pages
npm run deploy