0.0.2 • Published 4 years ago

@58fe/v5-icon v0.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

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