Vue Feather Icons
Feather icons plugin for Vue.js, SSR supported.
Demo
Installation
npm install --save vue-feather-icons-ssr
Usage
Bundler (Webpack, Rollup)
//for convenience, import as alias//use the code below to support SSR//import {VueFeatherIconsSsrJsx as icon} from 'vue-feather-icons-ssr' //register it globallyVue
<!-- name option index: https://feathericons.compass the name of feather icon to display the icon you want --><!-- you can also pass any SVG compatible attributes to the component -->
Browser
<!-- Include after Vue --><!-- Local files --> <!-- From CDN -->
Development
Launch visual tests
npm run dev
Launch Karma with coverage
npm run dev:coverage
Build
Bundle the js and css of to the dist
folder:
npm run build