How to host Next.js website on GitHub Pages

Опубликовано: 14 Октябрь 2024
на канале: KhattakDev
10,262
204

In this video, we will learn how to host a Next.js website on GitHub Pages.

If you're looking to host your simple HTML, React.js, or Jekyll application, watch my previous video:    • GitHub Pages | Hosting your website [...  


00:00 Introduction
00:30 Next.js application
03:20 Running next export
05:40 Setting GitHub Actions
09:52 Adding basePath and assetPrefix
12:40 Fixing assets loading (.nojekyll)
14:29 Fixing Favicon

---

Twitter:   / khattakdev  
GitHub: https://github.com/khattakdev
LinkedIn:   / khattakdev  


---
Music: Roa - One Thing
Watch:    • Roa - One Thing 【Official】  ​
Stream / Download : https://hypeddit.com/link/c6jsel​
License: https://roamusic.wixsite.com/roamusic​