万朋数智 Icons for Vue
这个项目Fork 自 https://github.com/ant-design/ant-design-icons,旨在方便的使用svg icon。
Install
yarn add @wpsz/icons-vue
Basic Usage
First, you should add the icons that you need into the library.
import Vue from 'vue';
import { Filter } from '@wpsz/icons-vue';
Vue.component(Filter.name, Filter);
After that, you can use antd icons in your Vue components as simply as this:
<icon-filter />
Build project
npm run generate # Generate files to ./src
npm run compile # Build library
npm run test # Runing Test