vue中出现 There are multiple modules with names that only differ in casing的问题

import时,文件引入的路径描述不统一,所以保留一种引入风格即可解决。

第一种,我选择统一用第一种

import GoTop from '@/components/layout/goTop'

第二种

import GoTop from './goTop'

参考文档:https://blog.csdn.net/tionsu/article/details/78591962