Already included file name ‘d:/Learn/11.Vue/Pprogram/geek_mobile/src/views/ArticleDetail/CommentList.vue’ differs from file name ‘d:/Learn/11.Vue/Pprogram/geek_mobile/src/views/ArticleDetail/CommentList.VUE’ only in casing.
The file is in the program because:
Imported via ‘./CommentList.vue’ from file ‘d:/Learn/11.Vue/Pprogram/geek_mobile/src/views/ArticleDetail/index.vue’
Root file specified for compilation
Root file specified for compilationVetur(1261)
引入文件路径正确,通过查询错误发现是文件后缀不需要
import CommentList from './CommentList'
这样就完成了