Socket
Book a DemoInstallSign in
Socket

purge-icons-vue

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

purge-icons-vue

PurgeIcons's vue 2 icon component

latest
Source
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

PurgeIcons's Vue 2 Icon Component

npm version

Adapted from https://github.com/antfu/vitesse/blob/master/src/components/Icon.vue

Must install PurgeIcons.

Installation

npm i purge-icons-vue
# or
yarn add purge-icons-vue

And register in Vue app entry:

import PurgeIconsVue from 'purge-icons-vue'

Vue.use(PurgeIconsVue)

If you installed postcss-import, can import CSS file:

@import 'purge-icons-vue';

Usage

<Icon icon="mdi:account" />

The icon id follows the rules in Iconify which you can use any icons from the supported icon sets. It will only bundles the icons you use, check out PurgeIcons for more details.

Keywords

purge-icons

FAQs

Package last updated on 13 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts