$ gnpm install @ant-design/icons-vue
yarn add @ant-design/icons-vue
First, you should add the icons that you need into the library.
import Vue from 'vue'
import { Filter } from '@ant-design/icons-vue';
Vue.component(Filter.name, Filter);
After that, you can use antd icons in your Vue components as simply as this:
<icon-filter />
npm run generate # Generate files to ./src
npm run compile # Build library
npm run test # Runing Test
Copyright 2013 - present © cnpmjs.org | Home |