Next.js Blog Tutorial: Build SEO Optimized Personal Blog with Next.js, Contentlayer, and Tailwind CSS 🔥
For Demo checkout following links👇:
Nextjs Personal Blog Website
Starter Code Files👇:
Nextjs Personal Blog Website Starter Code
If you want to learn how to create it please follow below tutorial👇:
https://youtu.be/1QGLHOaRLwM

Checkout My Personal blog: DevDreaming
NOTE: In the youtube tutorial I have used contentlayer for the markdown files. Since contentlayer is not actively maintained, I have switched to Velite.js for the markdown files. If you want to checkout the contentlayer please switch to the contentlayer branch.
🚀 2026 Modernization Update
The repo has been refreshed to run on the latest stable versions of every dependency. Highlights:
- Bun is now the package manager (
bun install, bun dev, bun run build).
- Next.js 16 with Turbopack as the default for dev and build.
- React 19.
- Tailwind CSS v4 — CSS-first config in
src/app/globals.css (@theme, @custom-variant dark, @plugin); tailwind.config.js removed and @tailwindcss/postcss replaces autoprefixer.
- ESLint 10 flat config (
eslint.config.mjs) with next/core-web-vitals.
- Shiki 4 + latest
rehype-pretty-code, velite, @supabase/supabase-js, react-hook-form, next-sitemap, sharp, and all rehype/remark plugins.
- Velite now runs as a
predev / prebuild script (Turbopack does not support the old custom webpack plugin).
- Async
params migration applied to dynamic routes for Next 16.
Looking for the old version? The pre-update code is preserved in git history — check out commit 186f9ee (or any commit before this update) to use the original Next.js 15 + Tailwind v3 + ESLint 9 setup from the YouTube tutorial.
⭐DO NOT FORGET TO STAR THIS REPO⭐
Images of The Portfolio Website:
Home

About


For more Images please check the project images folder from this repo or check the demo link.
Resources Used in This Project
All the images used in the blogs:
This is a Next.js project bootstrapped with create-next-app.
Stable dependency update (October 2026)
Use Node.js 22 or newer and Bun 1.4.2. Dependencies and bun.lock now use stable compatible releases, including Next.js 16.3.8, React 19.3, Tailwind CSS 4.3, and Velite 0.4. ESLint uses 9.39.5 because Next.js’s stable lint plugins do not support ESLint 10.
The required migration uses Next.js’s native flat ESLint config, corrects the existing rule options and JSX escaping, and caches compiled MDX components to preserve their identity across renders. Keep the existing Supabase environment values set for builds.
bun install --frozen-lockfile
bun run lint
bun run build
bun run dev
Other project
From the creator: SmartHeadshots AI — AI headshot generator.
Also from the creator: AI Room Design App — AI room design.
评论