@58fe/v5-icon
v0.0.2
Published
v5 icon
Downloads
3
Keywords
Readme
V5 Icons
Install
npm i @58fe/v5-icon
Basic Usage
First, you should add the icons that you need into the library.
import { Close } from '@58fe/v5-icon';
//OR
import Close from '@58fe/v5-icon/lib/icons/close';
Vue.component(Close.name, Close);
After that, you can use antd icons in your Vue components as simply as this:
<v5-icon-close />
Build project
npm run generate # Generate files to ./src/icons/
npm run build # Generate files to ./lib