boxDomain.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
时间: 2023-09-26 21:11:02 浏览: 129
vue打包npm run build时候界面报错的解决
这个错误是由于无法加载资源引起的。解决这个问题的方法有两种。第一种方法是找到配置文件中的index.js,在其中修改assetsPublicPath为“./”。第二种方法是检查页面中是否缺少了对应的图片资源。这种情况下,浏览器会报404错误。然而,这个错误不会影响代码的运行效果,可以忽略。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [vue打包npm run build时候界面报错的解决](https://download.csdn.net/download/weixin_38626943/13128820)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Failed to load resource: the server responded with a status of 404 (Not Found) 报错](https://blog.csdn.net/sdsdvsdvs/article/details/126335311)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [使用Cdn引入vue.js控制台报错Failed to load resource: the server responded with a status of 404 (Not ...](https://blog.csdn.net/blackbak/article/details/129912594)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文