Vue-cli3 multi-page applications introduce echarts on demand

in the past, it was easy to introduce echarts on demand in vue-cli2 "s single-page application.
now the project has been replaced by vue-cli3 multi-page application. In this project, each page directly import echarts introduces the whole echarts,. How to introduce echarts on demand in multi-page application? how to configure it? sharp-sharp-sharp problem description

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Aug.14,2021

No need to use cdn directly on demand

Menu