vue运行报错:There are multiple modules with names that only differ in casing
由报错信息推知,这是由文件路径或文件名同时存在大小写所导致的模块冲突问题
```
根据报错信息看到是,源代码在引入模块文件的时候写成了小写
import VectorLayer from "ol/layer/vector";
实际查看包文件里是Vector.js
更正为:
import VectorLayer from "ol/layer/Vector";
问题便可解决
```