1. 程式人生 > >vue中出現 There are multiple modules with names that only differ in casing的問題

vue中出現 There are multiple modules with names that only differ in casing的問題

1、瀏覽器中的console出現:

     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


2、原因:import時,檔案引入的路徑描述不統一,所以保留一種引入風格即可解決

a.風格1


b.風格2