Trying to deploy from a inner folder to gh-pages, you must have the transpiled assets in the desired directory.
If you want to deploy from the dist folder you should commit it to gh-pages branch.
- Run this
git subtree push --prefix dist origin gh-pages - In the GitHub project Settings, down to Github Pages, and in Source branch select: gh-pages.
That's it