Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

404 error, index.html is in /dist

Solved! Go to Solution.
I get a 404 on my GitHub page built from the master branch. It says the index.html is missing. My project has a /dist subfolder which has the index.html. Is this why I get a 404? If so, is there a work around? Thanks in advance.
1 Reply
Commander Lvl 2
Message 2 of 2

Re: 404 error, index.html is in /dist

Github pages can only be published from master, gh-pages branch, or /docs.


Try creating a branch called gh-pages using your /dist folder, using this article.



Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!