User Guide
The CLI tool that automates setups and installing components.
Installation
Initialize a config for CLI:
You can change the output paths of components in the config.
Components
Select and install components.
You can pass component names directly.
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.
Customise
A simple way to customise Fumadocs layouts.
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.
How is this guide?