@58fe/v5-icon

v5 icon

Usage no npm install needed!

<script type="module">
  import 58feV5Icon from 'https://cdn.skypack.dev/@58fe/v5-icon';
</script>

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