MIT-Licensed :: Blanik.me :: Amadeusz Blanik :: 2019
This package use Fetch API so you may need to upgrade your Babel to newer version or use Polyfill.
- Install
js-inlinesvg
package. Eg.yarn add js-inlinesvg
- Import
InlineSVG.js
. Eg.import InlineSVG from "js-inlinesvg"
- Define InlineSVG in your
app.js
file. Eg.const InlineSVG = new InlineSVG("inlineSVG")