1.vue中iview的标签报错 x-invalid-end-tag 因为标签是闭合的
这是vetur中eslint的问题,在vscode菜单中,文件->首选项->设置 找到 “vetur.validation.template”: true 将其改为false,就可关闭eslint的检查,错误消失
2.vue报There are multiple modules with names that only differ in casing错误提示
1 、在引用组件时,路径大小写不对也会造成此报错: 错误写法: import Footer from '../components/Shared/footer.vue' 正确写法: import Footer from '../components/shared/footer.vue' 2、在组件使用vuex时,引用vuex大小写错误 错误写法: import { mapState} from "Vuex" 正确写法: import { mapState} from "vuex"