0.0.2 • Published 6 years ago
@58fe/v5-icon v0.0.2
V5 Icons
Install
npm i @58fe/v5-iconBasic 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 ./lib0.0.2
6 years ago