本页还没有译文
本页 2 段还没译成日本語,下面显示的是英文原文。mdxRs
还没翻译译自英文(nextjs.org)本页 2 段都还没译
For experimental use with @next/mdx. Compiles MDX files using the new Rust compiler.
next.config.js
const withMDX = require('@next/mdx')()
/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ['ts', 'tsx', 'mdx'],
experimental: {
mdxRs: true,
},
}
module.exports = withMDX(nextConfig)AI 翻译查看英文原文