about the import method, I have tried to find < script > directly in index.html and write a map.js
either way is an error that can not be found in BMap after packaging.
do you have any solutions or ideas?
about the import method, I have tried to find < script > directly in index.html and write a map.js
either way is an error that can not be found in BMap after packaging.
do you have any solutions or ideas?
webpack.base.conf.js add
I have found the reason. There is no introduction of script in index.html after packaging. Join again and add it.
Previous: There is a problem with one icon showing two after the recent update of the icon library in Antd.
Next: Encapsulating Echarts into components in Vue, loading problem