0.0.1 • Published 2 years ago
@tssu/icons-vue v0.0.1
Install
yarn add @tssu/icons-vueBasic Usage
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 />Build project
npm run generate # Generate files to ./src
npm run compile # Build library
npm run test # Runing Test0.0.1
2 years ago