How to deploy a React app to GitHub Pages

GitHub Pages offers free static hosting for React applications, making it an excellent choice for personal projects, documentation sites, and open-source demos. As the creator of CoreUI with over 12 years of React experience since 2014, I’ve deployed numerous demo applications and documentation sites to GitHub Pages. Deploying to GitHub Pages requires building your React app and pushing the build folder to a special gh-pages branch. The gh-pages package automates this process with a single command.

Read More…

How to deploy Angular app to GitHub Pages

GitHub Pages provides free static website hosting directly from GitHub repositories, ideal for Angular applications, documentation sites, and portfolios. As the creator of CoreUI, a widely used open-source UI library, I’ve deployed Angular applications to GitHub Pages throughout my 11 years of Angular development. The most straightforward approach is using the angular-cli-ghpages package to build and deploy Angular apps with a single command. This method automates the deployment process, handling base href configuration and branch management automatically.

Read More…
Subscribe to our newsletter
Get early information about new products, product updates and blog posts.
What is globalThis in JavaScript?
What is globalThis in JavaScript?

How to check if an array is empty in JavaScript?
How to check if an array is empty in JavaScript?

How to loop through an array in JavaScript
How to loop through an array in JavaScript

How to show or hide elements in React? A Step-by-Step Guide.
How to show or hide elements in React? A Step-by-Step Guide.

Answers by CoreUI Core Team