CLI
Use the SlateUI CLI to add components to your Angular project.
Installation
Install the SlateUI CLI as a dev dependency in your project:
init
Use the init
command to initialize configuration and dependencies for a new project.
The init
command installs dependencies, adds the cn
util and configures CSS variables for the project.
add
Use the add
command to add components and dependencies to your project.
Next Steps
After successfully adding components with the CLI:
- Review the generated component files in your project
- Check the updated Tailwind CSS configuration
- Import and use the components in your Angular components
- Customize the styling using the provided CSS variables
- Explore the component variants and props
Built with ❤️ by @immohammadjaved • Source code available on GitHub