Contentlayer
Learn how to use Contentlayer with Fumadocs
Fumadocs provides the default configuration with required MDX plugins for Contentlayer.
It also adds extra functionalities to Contentlayer, making it more convenient to use and straightforward.
Setup
Configure Contentlayer correctly.
Edit your configuration
Note
Configuration file can't be imported from Next.js runtime.
Load Files
Using Source API.
Organize Pages
Adding Icons
You can configure the icon handler in
the loader
.
Last updated on