Dynamic Entry
Accessinig your collections with on-demand compilation.
Usage
Enable dynamic mode on docs/doc collections, and import it from dynamic entry instead of server.
It offers the same output as server entry, while compiled properties have to be loaded via load() method.
import { docs } from 'fumadocs-mdx:collections/dynamic';
import { loader } from 'fumadocs-core/source';
export const source = loader({
baseUrl: '/docs',
source: docs.toFumadocsSource(),
});How is this guide?
Last updated on
