init
Use the init
command to initialize configuration and dependencies for a new project.
The init
command installs dependencies, adds the ny
util, configures tailwind.config.ts
, and CSS variables for the project.
You will be asked a few questions to configure nyxbui.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
remove
You can use the remove command to remove nyxb/ui components.
Run the following command to get a list of components that have installed, and choose components to remove:
Then use space
to select components to remove, or a
to toggle all:
Options