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.cjs
, 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
Track upstream component updates with diff
.
Run the diff
command to get a list of components that have updates available:
Then run diff [component]
to see the changes:
Options