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
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-iconsIn 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+