I am currently using: https://github.com/naikus/svg-gauge
I would like to configure the library for my specific needs, that is, I cannot use the npm package, since I need to configure the library:
import Gauge from 'svg-gauge';
I moved the gauge.js file to: /assets/libs/gauge.js
And then tried to use it like this:
import Gauge from '../../../assets/libs/gauge';
This does not work ... Is it possible to import this JavaScript library into React, allowing me to customize it?
thank
source
share