Initialize Times error after introducing echarts using ES Module: echarts.init is not a function

import echarts from "pool/echarts/dist/echarts";
echarts.init (document.getElementById (" userChart"))
has fetched the js, but the echarts object does not seem to be correct
clipboard.png

Apr.29,2022

import echarts from "echarts/lib/echarts";

you know what?


has it been solved? landlord

Menu