- Download source files
- Run
npm install
to install all dependencies. - Run
npm run build
to bundlesrc/app.js
intodist/bundle.js
- Open
index.html
in a browser.
Notice that imports should be done as the following:
// Do this. Import entire module into a single variable.
import * as Highcharts from 'highcharts';
// Do not do this. Works only with modules who exports a default
import Highcharts from 'highcharts'
My thoughts exactly. Lmao.