Nikola Nikola - 19 days ago 5
Git Question

GitHub page returns 404 only for some files

I've pushed to

gh-pages
my local
dist
folder containing the demo for my ng2 component with:
git subtree push --prefix dist origin gh-pages


Everything's loading ok, except the
vendor...js/css
files.

my
gh-pages
website: https://nkalinov.github.io/ng2-datetime/

my
gh-pages
source code: https://github.com/nkalinov/ng2-datetime/tree/gh-pages

What am I missing ?

Answer

I had similar issue today I only use github page to host a static site but it dislike my "vendor.bundle.js" which is generated by webpack(was working before though).

I searched all day and landed here soon as I change to "lib.bundle.js" it worked.

By the way .nojekyll file not working for me.