- Build artifact in the /docs/ repository
ng build --output-path docs --base-href /docs/
-
Probably need to remove the docs/ of the index.html generated if 404 error when trying to fetch js files
-
Copy docs/index.html and rename 404.html (Default fall page)
-
Commit on your branch gh-pages and push on your username.github.io repository
-
Go on your GitHub repository and settings/pages option