# vue-feather-icons-ssr

> Feather icons plugin for Vue.js, SSR supported.

Latest version **0.1.7** (published 2017-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-feather-icons-ssr
pnpm add vue-feather-icons-ssr
yarn add vue-feather-icons-ssr
bun add vue-feather-icons-ssr
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.7 |
| Published | 2017-11-07 |
| First published | 2017-10-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Dianxia Shi |
| Maintainers | shidianxia |

## Links

- npm: https://www.npmjs.com/package/vue-feather-icons-ssr
- Repository: https://github.com/shidianxia/vue-feather-icons
- Homepage: https://github.com/shidianxia/vue-feather-icons#readme
- Issues: https://github.com/shidianxia/vue-feather-icons/issues
- npm.io page: https://npm.io/package/vue-feather-icons-ssr

## Dependencies (1)

- [feather-icons](https://npm.io/package/feather-icons.md) ^3.3.0

## Recent versions

- 0.1.7 (latest) — 2017-11-07
- 0.1.6 — 2017-10-24
- 0.1.5 — 2017-10-24
- 0.1.4 — 2017-10-24
- 0.1.3 — 2017-10-24
- 0.1.2 — 2017-10-24
- 0.1.1 — 2017-10-24

## README

# Vue Feather Icons

[![npm](https://img.shields.io/npm/v/vue-feather-icons-ssr.svg)](https://www.npmjs.com/package/vue-feather-icons-ssr) [![vue2](https://img.shields.io/badge/vue-2.x-brightgreen.svg)](https://vuejs.org/)

> Feather icons plugin for Vue.js, SSR supported.

## Demo

[Jsfiddle](https://jsfiddle.net/7vjv08km/1/)

## Installation

```bash
npm install --save vue-feather-icons-ssr
```

## Usage

### Bundler (Webpack, Rollup)

```js
import Vue from 'vue'
//for convenience, import as alias
import {VueFeatherIconsSsr as icon} from 'vue-feather-icons-ssr'
//use the code below to support SSR
//import {VueFeatherIconsSsrJsx as icon} from 'vue-feather-icons-ssr'

//register it globally
Vue.component('icon', icon)
```

```html
<!-- name option index: https://feathericons.com
pass the name of feather icon to display the icon you want -->
<icon name="github"></icon>
<!-- you can also pass any SVG compatible attributes to the component -->
<icon name="github" stoke-width="1"></icon>
```

### Browser

```html
<!-- Include after Vue -->
<!-- Local files -->
<script src="vue-feather-icons-ssr/dist/vue-feather-icons-ssr.js"></script>

<!-- From CDN -->
<script src="https://unpkg.com/vue-feather-icons-ssr"></script>
```

## Development

### Launch visual tests

```bash
npm run dev
```

### Launch Karma with coverage

```bash
npm run dev:coverage
```

### Build

Bundle the js and css of to the `dist` folder:

```bash
npm run build
```


## Thanks to

[Feather Icons](https://feathericons.com)

## License

[MIT](http://opensource.org/licenses/MIT)

---
_Source: https://npm.io/package/vue-feather-icons-ssr · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
