Use MDX in Next.js to Dynamically Create Pages for a Blog

Use MDX in Next.js to Dynamically Create Pages for a Blog

Learn how to source MDX content in Next.js to dynamically create pages for a blog.

Learn how to source MDX content in Next.js to dynamically create pages for a blog.

🧐 What's Inside

  • 00:00 - Intro to using MDX in Next.js
  • 00:10 - Tools we'll use like MDX and Next.js
  • 00:34 - Starting Next.js app from scratch with Create Next App
  • 01:28 - Creating sample MDX blog posts
  • 02:43 - Sourcing MDX content with Next.js MDX Enhanced plugin and Next.js Compose Plugins
  • 05:31 - Creating a React template for blog post pages
  • 08:37 - Using Gray Matter and node.js in getStaticProps to look up available MDX blog posts
  • 14:28 - Adding posts prop to page component with dynamic blog post page links
  • 15:43 - Looping through posts date to add Next.js links to the homepage
  • 17:27 - Adding and configuring Next.js Image to add an image with a React component into an MDX blog post
  • 19:20 - Outro

🗒️ Read More https://spacejelly.dev/posts/how-to-source-mdx-content-in-next-js-to-dynamically-create-pages-for-a-blog/

next javascript react web-development

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How native is React Native? | React Native vs Native App Development

Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.

Hire Dedicated JavaScript Developers -Hire JavaScript Developers

Hire dedicated JavaScript Developers who are proficient in AngularJS, ReactJS, NodeJS, & VueJS frameworks. Get flexible hiring models as per your business requirements.

Why And Where To Use ReactJS For Web Development?

There are numerous frameworks and libraries accessible in this advanced digital world that can help you with agile web development. But…

Next.js vs. React: The Developer Experience

The developer experience for Next.js vs. React is similar in some ways and drastically different in others. In the world of React, Next.js has become a popular framework for “hitting the ground running.” Next.js builds on top of React to provide a streamlined development experience. There is definitely a different experience when building a project with Next.js vs. React.

Tendencias Javascript y Web 2020. React, Next.js, Deno

Tendencias Javascript y Web 2020. React, Next.js, Deno. En este video te voy a mencionar algunas herramientas y frameworks que fueron, seguirán siendo o van a ser tendencia en este 2020. Entre ellas están React, Next.js, Deno, los Headless CMS como Strapi, entre otros.