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';

©️2020 CSDN 皮肤主题: 数字20 设计师:CSDN官方博客 返回首页