GitHub - hashicorp/next-mdx-remote: Load mdx content from anywhere through getStaticProps in next.js
エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
GitHub - hashicorp/next-mdx-remote: Load mdx content from anywhere through getStaticProps in next.js
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
GitHub - hashicorp/next-mdx-remote: Load mdx content from anywhere through getStaticProps in next.js
import { serialize } from 'next-mdx-remote/serialize' import { MDXRemote } from 'next-mdx-remote'... import { serialize } from 'next-mdx-remote/serialize' import { MDXRemote } from 'next-mdx-remote' import Test from '../components/test' const components = { Test } export default function TestPage({ source }) { return ( <div className="wrapper"> <MDXRemote {...source} components={components} /> </div> ) } export async function getStaticProps() { // MDX text - can be from a local file, database, an
2022/02/03 リンク