Generate Types
Generate types without running dev/build server
Overview
You can run fumadocs-mdx
to generate types & index file (e.g. the .source
folder in Next.js).
Optionally, you can run it in post install to ensure types are generated when initializing the project.
{
"scripts": {
"postinstall": "fumadocs-mdx"
}
}
How is this guide?
Last updated on