el-button-icon
v1.0.0
Published
vue-element icon button
Downloads
20
Readme
el-button-icon
description
主要将基于vue的element-ui中的button和icon抽离出来
use
// main.js
import Vue from 'vue'
import { Button, Icon } from 'el-button-icon'
Vue.use(Button)
Vue.use(Icon)
<!-- component -->
<el-button type="primary" :loading="true">加载中</el-button>
<i class="el-icon-edit"></i>
<!-- 其他的用法可以参照element-ui -->