This project was generated with Angular CLI version 15.2.4.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the /dist
directory.
- After the build, move the folder that is inside the
/dist
folder to the root of the project, rename it from "project-name" to "docs" - In the index.html that is inside the new
/docs
folder add a dot: ".
" before the slash on the tag base like this:
<base href="./">
- In GithubPages make the deploy from /docs NOT from /root.
Rest countries API : [https://restcountries.com/#endpoints-region]