JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 20538
  • Score
    100M100P100Q136958F
  • License MIT

A Vue component wrapper for Feather.

Package Exports

  • vue-feather

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-feather) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vue-feather

Build Status Downloads Version

A Vue component wrapper for Feather.

Main

dist/
├── vue-feather.js        (UMD)
├── vue-feather.min.js    (UMD, compressed)
├── vue-feather.common.js (CommonJS, default)
└── vue-feather.esm.js    (ES Module)

Getting started

Installation

npm install vue-feather vue feather-icons

In browser:

<script src="/path/to/vue.js"></script><!-- Vue.js is required -->
<script src="/path/to/feather.js"></script><!-- Feather is required -->
<script src="/path/to/vue-feather.js"></script>

Usage

import Vue from 'vue';
import VueFeather from 'vue-feather';

Vue.component(VueFeather.name, VueFeather);
<feather type="feather"></feather>

In browser:

<script>Vue.component(VueFeather.name, VueFeather);</script>

Browser support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Opera (latest)
  • Edge (latest)
  • Internet Explorer 9+

License

MIT © Chen Fengyuan