问题:
There are multiple modules with names that only differ in casing
解决:
这通常是微小错字的结果【可能是大小写有所不同】。
上面问题中Config.js文件的目录结构如下:
例如A组件需要引入Config.js,结果错将Config写成了小写的config就会导致上面的警告⚠️!!!
//A组件:
//@指向src跟目录;
import config from '@/constants/config.js'
//实际应改为【大小写需注意。。。】
import config from '@/constants/Config.js'
如果出现这样的警告,大家找找是不是自己引入的组件大小写写反了。。。