用coding-pages打开后显示Failed to load resource: the server responded with a status of 404 (Not Found),
解决方案:
方案一:
找到config里的index.js,打开修改assetsPublicPath 为“./”
方案二:
或者把index.html文件中的路径/去掉;
下面是去掉后的,可以参考下
成功了
用coding-pages打开后显示Failed to load resource: the server responded with a status of 404 (Not Found),