vue 在使用 webpack 打包时出现警告,There are multiple modules with names that only differ in casing.如下图: There are multiple modules with names that only differ in casing. 是有多个模块同名了仅大小写不同,可能是重复引用了,或者引用的文件名大小写不一致。例如: App.vue对组件引用了,然后路由又进行引入,如下图: 就出现了如上的警告。把App.vue里面的引用去掉即可。