An open API service indexing awesome lists of open source software.

https://github.com/ntnyq/vuepress-plugin-iconify

:hatching_chick: Using icons more easier in VuePress
https://github.com/ntnyq/vuepress-plugin-iconify

icon iconify svg-icon vuepress vuepress-plugin vuepress2 vuepress2-plugin

Last synced: 6 months ago
JSON representation

:hatching_chick: Using icons more easier in VuePress

Awesome Lists containing this project

README

          

# vuepress-plugin-iconify

[![CI](https://github.com/ntnyq/vuepress-plugin-iconify/workflows/CI/badge.svg)](https://github.com/ntnyq/vuepress-plugin-iconify/actions)
[![NPM VERSION](https://img.shields.io/npm/v/vuepress-plugin-iconify.svg)](https://www.npmjs.com/package/vuepress-plugin-iconify)
[![NPM DOWNLOADS](https://img.shields.io/npm/dy/vuepress-plugin-iconify.svg)](https://www.npmjs.com/package/vuepress-plugin-iconify)
[![LICENSE](https://img.shields.io/github/license/ntnyq/vuepress-plugin-iconify.svg)](https://github.com/ntnyq/vuepress-plugin-iconify/blob/main/LICENSE)

**vuepress-plugin-iconify** is a plugin for [VuePress](https://v2.vuepress.vuejs.org) that adds icons to your documentation.

:book: [Live Demo and Docs](https://vuepress-plugin-iconify.ntnyq.com)

## Install

```shell
npm install vuepress-plugin-iconify -D
```

```shell
yarn add vuepress-plugin-iconify -D
```

```shell
pnpm add vuepress-plugin-iconify -D
```

## Usage

> See [Official Docs](https://v2.vuepress.vuejs.org/guide/plugin.html#plugin) about how to use a plugin in VuePress.

```ts
import { defineUserConfig } from 'vuepress'
import { iconifyPlugin } from 'vuepress-plugin-iconify'

export default defineUserConfig({
plugins: [iconifyPlugin()],
})
```

Then, you can use the `VpIcon` component in your docs:

```html

```

## Prior Art

- [iconify](https://iconify.design)

## License

[MIT](./LICENSE) © [@ntnyq](https://github.com/ntnyq)