Build and Deploy a Next.js Blog with Remote MDX Files and Nextjs 13
Offered By: Dave Gray via YouTube
Course Description
Overview
Learn to build and deploy a Next.js blog using remote MDX content files and Next.js 13 in this comprehensive tutorial. Explore fetching and processing remote MDX content, implementing incremental static regeneration with revalidation, and creating dynamic post and tag pages. Master essential concepts like working with GitHub API tokens, using next-mdx-remote for compilation, and integrating Highlight.js and Rehype plugins for enhanced functionality. Dive into creating custom components, implementing on-demand revalidation, and deploying your project to Vercel. Perfect for developers looking to expand their Next.js skills and create a feature-rich blog with remote content management.
Syllabus
Intro
Welcome
Starter Code and Project Notes
npm install next@latest
What is MDX?
Remote MDX Content Repository
GitHub API Token
root page.tsx
Setting an eslint rule
root layout.tsx
components / Navbar.tsx
Clean-up
lib / posts.ts / getPostsMeta
lib / posts.ts / getPostByName
next-mdx-remote & compileMDX
components / Posts.tsx
components / ListItem.tsx
Dynamic Post Pages
Check progress with npm run dev
Adding Highlight.js & Rehype Plugins
Dynamic Tag Pages
taillwindcss aspect-ratio
Video component
Custom Image component
next-sitemap
Checking Revalidation for ISR
On-Demand Revalidation with revalidatePath
Deploy to Vercel
Checking Deployed On-Demand Revalidation
Project & Series Wrap-up
Taught by
Dave Gray
Related Courses
30 Days to Learn LaravelLaracasts 3D Graphics for Web Developers
Pompeu Fabra University via FutureLearn A Beginner’s Guide to Web Development with HTML5
Packt via FutureLearn Accessibility Audit
Amazon Web Services via AWS Skill Builder Expanding Your JS Skills with Angular
A Cloud Guru