styledsea

Next.js

Customise the Next.js loader

Plugin Options

Adalt MDX offers loaders and a Adalt Source API adapter to integrate with Adalt. You can configure the plugin by passing options to createMDX in next.config.mjs.

Config Path

Customise the path of config file.

import { createMDX } from 'styledsea-docs-mdx/next';
 
const withMDX = createMDX({
  configPath: './my-config.ts',
});

Last updated on

On this page

Edit on GitHub