Failed to load resource: the server responded with a status of 404 (Not Found)
分类:
文章
•
2023-10-11 16:25:58
Failed to load resource: the server responded with a status of 404 (Not Found)
- 在用webapck打包工具编写vue项目的时候,在.vue文件中经常会用到图片,我们此时就会用img标签去引入,如下图所示
运行代码后:
- 写相对路径,就会报错,我们需要把路径改成如下图所示: