我已经推送到 gh-pages
我的本地 dist
文件夹,其中包含我的 ng2 组件的演示:git subtree push --prefix dist origin gh -页面
一切都加载正常,除了 vendor...js/css
文件。
我的 gh-pages
网站:https://nkalinov.github.io/ng2-datetime/
我的 gh-pages
源代码:https://github.com/nkalinov/ng2-datetime/tree/gh-pages
我错过了什么?
最佳答案
我认为在 Jekyll 或 GitHub Pages 中有一个默认的 vendor*
忽略模式。如果您触摸 repo 协议(protocol)中的 .nojekyll
文件,问题会消失吗?
关于GitHub 页面仅对某些文件返回 404,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40659527/