今天拉取代码后,npm run dev时发现 会报warning
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers
大概意思就是 有多个模块的名称只是大小写不同。
在具有其他大小写语义的文件系统上编译时,这可能会导致意外行为。
查看了下代码,发现是 import 组件时路径的问题,有多个页面, 文件夹名称为AccToolBar,则引入时也要一致,有的地方是大小,有的地方是小写。 引入的路径要跟文件夹名称保持一致就好了。