1.Errors compiling template:
tag <div> has no matching end tag.
出错原因:div元素之间的对应关系出错,比如1)多写了一个div元素,却没有与之对应的</div>;2)或者末尾的</div>没写/
2.ERROR Failed to compile with 1 error
This relative module was not found:
出错原因:引入图片路径出错,仔细检查一下就好了
3.Uncaught (in promise) Error: 后台接口异常!
at __webpack_exports__.default (request.js?b775:33)
出错原因:import { get } from "../utils/request";模块引入加{}
1.不使用{}
暴露模块中有默认导出的 export default 语法时才会生效
不使用{}来引用模块的情况下,import 模块时的命名是随意的
2.使用{}
在暴露模块中有命名导出的代码。而且,在明确声明了命名,导出后,那么在另一个js中使用{}引用模块时,import 时的模块命名是有意义的