FVANCOP / ChartNew.js

MIT License
420 stars 143 forks source link

Npm Module Require #522

Open dozel opened 6 years ago

dozel commented 6 years ago

Hey all,

How do I go about using the npm module? I've tried importing it, requiring it, every time I get an empty object back.

import Chart from 'chartnew.js'; const Chart = require('chartnew.js');

I'm sure I'm missing one tiny thing, waiting for the DOH moment. Any help would be greatly appreciated.