simple-icons-vue

0.0.1 • Public • Published

simple-icons-vue

A single-file Vue functional component for the Simple Icons set.

Install

npm i simple-icons-vue

Usage

There are two ways to use the component:

Option 1. Install the component globally:

import Vue from 'vue'
import SimpleIconsVue from 'simple-icons-vue'

Vue.use(SimpleIconsVue)

Option 2. Import the component as needed

<template lang="html">...</template>

<script>
import { SimpleIcon } from 'simple-icons-vue'

export default {
  components: {
    SimpleIcon,
  },
  ...
}
</script>

Also check out the Eva Icons equivalent of this component.

Package Sidebar

Install

npm i simple-icons-vue

Weekly Downloads

23

Version

0.0.1

License

MIT

Unpacked Size

3.48 kB

Total Files

5

Last publish

Collaborators

  • alexvipond