talatkuyuk / testing-app-for-next-mdx-remote-client

A nextjs demo application for usage of "next-mdx-remote-client" in both pages router and app router

Home Page:https://demo-next-mdx-remote-client.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

testing app for next-mdx-remote-client

It is a nextjs application for testing of next-mdx-remote-client's features.

The nextjs is one of the React Framework for the Web.

The next-mdx-remote-client is a package for compiling and running any MDX content for nextjs applications. It uses @mdx-js/mdx and @mdx-js/react in background.

This application is not just a blog application, resulting comparable outputs in two columns of table for MDXClient and hydrate for "pages" router, MDXRemote and evaluate for "app" router. The application employs both "app" router and "pages" router to test and see the exact same results with next-mdx-remote-client.

Install

git clone https://github.com/talatkuyuk/testing-app-for-next-mdx-remote-client.git
npm install
npm run dev

next-mdx-remote-client

In other words, the next-mdx-remote-client is a wrapper of the @mdx-js/mdx for the nextjs applications in order to load MDX content. It is a fork of next-mdx-remote.

You can find it in github or npm

Live demo

You can reach a living web site at the about section in the sidebar.

About

A nextjs demo application for usage of "next-mdx-remote-client" in both pages router and app router

https://demo-next-mdx-remote-client.vercel.app/

License:MIT License


Languages

Language:TypeScript 78.1%Language:MDX 11.9%Language:CSS 8.8%Language:JavaScript 1.2%