Design system.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

26 Zeilen
724 B

  1. const nextMDX = require('@next/mdx')
  2. const withMDX = nextMDX({
  3. extension: /\.mdx?$/,
  4. options: {
  5. // If you use remark-gfm, you'll need to use next.config.mjs
  6. // as the package is ESM only
  7. // https://github.com/remarkjs/remark-gfm#install
  8. remarkPlugins: [],
  9. rehypePlugins: [],
  10. // If you use `MDXProvider`, uncomment the following line.
  11. providerImportSource: "@mdx-js/react",
  12. },
  13. })
  14. /** @type {import('next').NextConfig} */
  15. const nextConfig = {
  16. // Configure pageExtensions to include md and mdx
  17. pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
  18. // Optionally, add any other Next.js config below
  19. reactStrictMode: true,
  20. }
  21. // Merge MDX config with Next.js config
  22. module.exports = withMDX(nextConfig)