cmicons-vue

1.0.5 • Public • Published

Basic Usage

Collection Open source Svg icons and generate React Vue component, now collect jamicons humbleicons

使用说明

Vue

Note that this library currently only supports Vue 3.

First, install cmicons-vue from npm:

npm install cmicons-vue

Now each icon can be imported individually as a Vue component:

Jam icons

<template>
  <div>
    <SearchIcon style="color:red"/>
    <p>...</p>
  </div>
</template>

<script>
import { SearchIcon } from 'cmicons-vue/jam'

export default {
  components: { SearchIcon }
}
</script>

Humble icons

<template>
  <div>
    <SearchIcon style="color:red"/>
    <p>...</p>
  </div>
</template>

<script>
import { SearchIcon } from 'cmicons-vue/humble'

export default {
  components: { SearchIcon }
}
</script>

License

This library is MIT licensed.

/cmicons-vue/

    Package Sidebar

    Install

    npm i cmicons-vue

    Weekly Downloads

    813

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    2.53 MB

    Total Files

    4678

    Last publish

    Collaborators

    • coderminer