vant 大量console warn There are multiple modules with names that only differ in casing

There are multiple modules with names that only differ in casing.                                                                              friendly-errors 11:05:07
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:

 

原因是大小寫的問題

import { Toast } from 'Vant';

改爲

import { Toast } from 'vant';

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章