data-driven-range-slider icon indicating copy to clipboard operation
data-driven-range-slider copied to clipboard

Trouble importing

Open smitii opened this issue 5 years ago • 1 comments

After doing npm i data-driven-range-slider and requiring the module as it's listed in the Github README, I get this error: image I've tried requiring 'data-driven-range-slider' instead and that gives me a different error related to using a const variable. I'm not sure why.

smitii avatar Jun 08 '20 15:06 smitii

I am not sure what's happening

For the workaround, you can directly include script file for now

Here is JSFiddle to check how it can be used

Note: you also need to have d3.js included

bumbeishvili avatar Jun 09 '20 08:06 bumbeishvili