Meteor 1.3 : Can't import plotly.js -


i trying load plotly.js on client side in angular2-meteor app (meteor 1.3), , can't figure out how so. i've tried many variations of imports 'plotly.js', import { plotly } 'plotly.js' , on, none of them seem work on client (did not test on server far).

the file imports plotly in imports folder, can use either on server or on client.

compiler gives me "cannot find module 'plotly.js'" of tries, imports 'plotly.js' gives no error message, plotly object not defined.

do have solution ? i'd real solution more quickfix or cdn loading, kind of issue seems appear lot of npm packages. lot !


Comments