public目录下的index.html原配置,icon图标不显示,netWork也不加载favicon.ico 解决方法: 将上面圈住的内容加上/,如下即可 打包后dist下面的index.html如下