default
default(
options?):AstroIntegration
Astro integration for rendering remote MDX content with custom components.
Registers a virtual module (virtual:mdx-components) that resolves the
user's component map at build time, and injects the React Refresh preamble
during development.
Parameters
options?
RemoteMdxOptions = {}
Integration configuration options.
Returns
AstroIntegration
An Astro integration object.
Example
ts
// astro.config.mjs
import remoteMdx from 'astro-mdx-remote';
export default defineConfig({
integrations: [remoteMdx()],
});