i want to use echarts map plugin, but when i import china.js ,errors occur .
the js i am used in the simple html is ok
i want to use echarts map plugin, but when i import china.js ,errors occur .
the js i am used in the simple html is ok
Sounds like you need to copy the 3rd party js from node_modules into the plugin. You can do that automatically in a Grunt script like this: https://github.com/NatelEnergy/grafana-plotly-panel/blob/master/Gruntfile.js#L17
Do you have a dist
subfolder? If you do, does the path dist/js/echarts-liquidfill.min.js
exist?
@zhongqi also you can use webpack build system to include libs to your bundle: https://github.com/CorpGlory/grafana-plugin-template-webpack
ok。let me have a try,thanks