Vue编译提示警告


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. 
使用唯一的写法

提示原因:

import Pagination from '../../../components/Pagination/Pagination'
Pagination在项目的文件名是小写的,这里引用的时候变大写了,正确写法如下:
import Pagination from '../../../components/pagination/pagination' , 这样写 就不会报warning提示了。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM