More
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
import type { NextConfig } from "next";
|
||||
import createMDX from '@next/mdx';
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
// Configure `pageExtensions` to include markdown and MDX files
|
||||
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
|
||||
// Optionally, add any other Next.js config below
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
const withMDX = createMDX({
|
||||
// Add markdown plugins here, as desired
|
||||
});
|
||||
|
||||
export default withMDX(nextConfig);
|
||||
|
||||
Reference in New Issue
Block a user