1 在push之后预览发现没有元素
发现是因为没有打包的关系,于是进行了打包
2 项目资源无法加载
config/index.js
下assetsPublicPath:'/'
=>assetsPublicPath:'./'
,因为多了一级目录
3 net::ERR_FILE_NOT_FOUND
webpack.prod.conf.js 中output添加参数publicPath:’./’,至此可以在本地正常预览了
4 重新push,git无法发现新增的dist文件夹
这边尝试了好多种办法,都没有能删除git(不是很明白发生了什么,重新开始还是一直不能更新到在线仓库),最后鸡贼的删除了本地隐藏的.git文件夹,全部重新开始,这次总算是成功了
5 github发给我一封邮件
The page build failed for the `master` branch with the following error:
The variable `{
{A..C}` on line 41 in `cnode/node_modules/brace-expansion/README.md` was not properly closed
with `}}`. For more information, see
https://help.github.com/articles/page-build-f