Uploaded March 2023 | Updated November 2026, 1 day ago
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Learn how to build a Next.js Blog Website with Nextjs 13. Building a Blog App is an excellent project to show how Next.js 13 can use Static Site Generation / SSG and Markdown files for performance and content.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- Complete Next.js Developer: bit.ly/CompNextJSDev
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
Github: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/next-js-course
π Playlist for this Next.js Course: bit.ly/dg-nextjs
Next.js Blog Website | How to Build a Blog App with Nextjs 13
(00:00) Intro
(00:05) Welcome
(00:27) What We're Building
(01:39) Basic Project Setup
(03:39) TailwindCSS Setup & Typography
(08:17) Run in dev mode
(10:05) Basic Navbar
(14:10) Profile Image
(18:26) Adding Social Icons to the Navbar
(21:42) Providing default metadata
(22:32) Adding Markdown files for Blog Posts
(24:28) BlogPost type
(25:13) Reading Markdown with gray-matter
(29:23) Posts component
(32:31) ListItem component Pt. 1
(33:42) Formatting dates
(34:56) ListItem component Pt. 2
(37:28) Create a dynamic route
(38:01) Dynamic Post Pt. 1
(40:45) Custom 404 page
(41:04) Generate dynamic metadata
(42:54) Generate HTML from Markdown
(46:29) Dynamic Post Pt. 2
(48:37) Evaluating the Project Build
(51:08) Improving the build with generateStaticParams
(53:37) Features You Can Add
π Tutorial References:
π Credit to Shu Uesugi for the previous version of this project (before Next.js 13) at: https://next-learn-starter.vercel.app/
π TailwindCSS with Next.js: tailwindcss.com/docs/guides/nextjs
π TailwindCSS Typography: tailwindcss.com/docs/typography-plugin
π gray-matter: npmjs.com/package/gray-matter
π remark: npmjs.com/package/remark
π remark-html: npmjs.com/package/remark-html
π react-icons: npmjs.com/package/react-icons
π More References & Tools:
π Next.js Official Site: nextjs.org
π Next.js 13 Beta Docs: beta.nextjs.org/docs
π ES7 React Snippets Extension: marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets
Was this Next.js tutorial about Client Components and building a small project helpful? If so, please share. Let me know your thoughts in the comments.
#nextjs #blog #website
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Learn how to build a Next.js Blog Website with Nextjs 13. Building a Blog App is an excellent project to show how Next.js 13 can use Static Site Generation / SSG and Markdown files for performance and content.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- Complete Next.js Developer: bit.ly/CompNextJSDev
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
Github: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/next-js-course
π Playlist for this Next.js Course: bit.ly/dg-nextjs
Next.js Blog Website | How to Build a Blog App with Nextjs 13
(00:00) Intro
(00:05) Welcome
(00:27) What We're Building
(01:39) Basic Project Setup
(03:39) TailwindCSS Setup & Typography
(08:17) Run in dev mode
(10:05) Basic Navbar
(14:10) Profile Image
(18:26) Adding Social Icons to the Navbar
(21:42) Providing default metadata
(22:32) Adding Markdown files for Blog Posts
(24:28) BlogPost type
(25:13) Reading Markdown with gray-matter
(29:23) Posts component
(32:31) ListItem component Pt. 1
(33:42) Formatting dates
(34:56) ListItem component Pt. 2
(37:28) Create a dynamic route
(38:01) Dynamic Post Pt. 1
(40:45) Custom 404 page
(41:04) Generate dynamic metadata
(42:54) Generate HTML from Markdown
(46:29) Dynamic Post Pt. 2
(48:37) Evaluating the Project Build
(51:08) Improving the build with generateStaticParams
(53:37) Features You Can Add
π Tutorial References:
π Credit to Shu Uesugi for the previous version of this project (before Next.js 13) at: https://next-learn-starter.vercel.app/
π TailwindCSS with Next.js: tailwindcss.com/docs/guides/nextjs
π TailwindCSS Typography: tailwindcss.com/docs/typography-plugin
π gray-matter: npmjs.com/package/gray-matter
π remark: npmjs.com/package/remark
π remark-html: npmjs.com/package/remark-html
π react-icons: npmjs.com/package/react-icons
π More References & Tools:
π Next.js Official Site: nextjs.org
π Next.js 13 Beta Docs: beta.nextjs.org/docs
π ES7 React Snippets Extension: marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets
Was this Next.js tutorial about Client Components and building a small project helpful? If so, please share. Let me know your thoughts in the comments.
#nextjs #blog #website










