1.3.5 • Published 9 months ago
@icon-repository/vue v1.3.5
The simplest SVG icon library, the reference comes from IconPark. The difference is that this library only supports single-color icons, but it may be more suitable for icons in your project
Install
yarn add @icon-repository/vue
# use npm
npm install @icon-repository/vue -S
Usage
<template>
<add-base-filled color="#b0b1b8" size="20" hoverColor="#4C6AFF"/>
</template>
<script>
import { AddBaseFilled } from '@icon-repository/vue';
export default {
components: {
AddBaseFilled
}
}
</script>
you can also install icons globally.
import { install } from '@icon-repository/vue';
import Vue from 'vue';
// Install
install(Vue);