init
Use the init
command to initialize configuration and dependencies for a new project.
The init
command installs dependencies, adds the cn
util, configures tailwind.config.js
, and CSS variables for the project.
You will be asked a few questions to configure components.json
:
Options
add
Use the add
command to add components and dependencies to your project.
You will be presented with a list of components to choose from:
Options
diff (experimental)
You can use the diff command to check for updates against the registry.
Run the following command to get a list of components that have updates available:
Then run diff [component]
to see the changes:
Options