1.0.1 • Published 7 years ago

vue-element-multiple-icon v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

icon

Build Status

Element Icon clone, and did just a little change. If you have a better idea of this component improvement, please share it and I will update it immediately.

Install

npm install vue-element-multiple-icon -S

Quick Start

import Vue from 'vue'
import VmIcon from 'vue-element-multiple-icon'
import 'vue-element-multiple-icon/lib/icon.css'

Vue.component(VmIcon.name, VmRate)

Usage

<vm-icon type="load-a"></vm-icon>

API

PropertyDescriptionTypeDefault
tagName of tag.Stringi
typeName of icon.String-
sizeSize of icon.(default is px)Number/String-
colorColor 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

LICENSE

MIT