包含 vendor 作为字符串的文件未显示在 Github 页面上
Files containing vendor as a string not displayed on Github Pages
我最近将我的应用程序发布到 Github 页面,但我开始收到包含字符串 vendor
.
的文件的 404 响应
是否有保留的文件名列表?
我的 gh-pages 分支中有 vendor.bundle.js
https://github.com/emartech/angular2-phonecat/tree/gh-pages .
但响应是 404 https://emartech.github.io/angular2-phonecat/vendor.bundle.js .
不同的存储库之间似乎是一致的。
来自 Github 支持的回复:
We recently updated to Jekyll v3.3, which ignores vendored files by
default. If you're not using Jekyll for your Pages site, you can add a
.nojekyll file to the root of your repository to disable Jekyll from
building your site. Once you do that, your site should build with your
vendored files without any problems.
我最近将我的应用程序发布到 Github 页面,但我开始收到包含字符串 vendor
.
是否有保留的文件名列表?
我的 gh-pages 分支中有 vendor.bundle.js
https://github.com/emartech/angular2-phonecat/tree/gh-pages .
但响应是 404 https://emartech.github.io/angular2-phonecat/vendor.bundle.js .
不同的存储库之间似乎是一致的。
来自 Github 支持的回复:
We recently updated to Jekyll v3.3, which ignores vendored files by default. If you're not using Jekyll for your Pages site, you can add a .nojekyll file to the root of your repository to disable Jekyll from building your site. Once you do that, your site should build with your vendored files without any problems.