User Guide
The CLI tool that automates setups and installing components.
Installation
Note that it needs Fumadocs Core for minimal setup.
You can initialize a config for CLI.
It defines the output paths of components.
Components
Select and install components.
You can pass component names.
How the magic works?
The CLI fetches the latest version of component from the GitHub repository of Fumadocs. When you install the component, it is guaranteed to be up-to-date.
In addition, it also transforms import paths. Make sure to use the latest version of CLI
This is highly Inspired by Shadcn UI.
Tree
Generate files tree for Fumadocs UI Files
component, using the tree
command from your terminal.
You can output MDX file too:
See help for further details:
Example Output
Initialize Features
Some features of Fumadocs require copying code to get started, it is similar to codemod
but for configuring features automatically.
Please note that some features may change your existing code, make sure to commit your changes to Git before running it.