Kenneth Joris
Results
3
comments of
Kenneth Joris
- Add a text input to your form - give it a class to hide it with css - give it an id to reference it with JS - Then...
Currently can require it like this: ``` const fontGenerator = require(require.resolve('icon-font-generator/lib/index.js')).generate; fontGenerator(theOptions); ``` A little bit more documentation about `theOptions` would be nice. Now you have to go looking inside...
As @adripanico mentioned: passing an svg to SVGO first would be good. One thing for this to work is missing though: In the [config](https://github.com/Workshape/icon-font-generator/blob/master/lib/index.js#L68): `files : options.paths` expects an url,...