Comparing version 0.0.0-beta.c769765 to 0.0.0-beta.ec41f85
{ | ||
"name": "shadcn-ui", | ||
"version": "0.0.0-beta.c769765", | ||
"version": "0.0.0-beta.ec41f85", | ||
"description": "Add components to your apps.", | ||
@@ -46,4 +46,4 @@ "publishConfig": { | ||
"tsup": "^6.6.3", | ||
"type-fest": "^3.6.1", | ||
"typescript": "^4.5.5" | ||
"type-fest": "^3.8.0", | ||
"typescript": "^4.9.3" | ||
}, | ||
@@ -50,0 +50,0 @@ "scripts": { |
# shadcn-ui | ||
A CLI for adding components to your project. | ||
## Usage | ||
Use the `init` command to initialize dependencies for a new project. | ||
The `init` command installs dependencies, adds the `cn` util, configures `tailwind.config.js`, and CSS variables for the project. | ||
```bash | ||
npx shadcn-ui init | ||
``` | ||
## add | ||
Use the `add` command to add components to your project. | ||
The `add` command adds a component to your project and installs all required dependencies. | ||
```bash | ||
npx shadcn-ui add [component] | ||
``` | ||
### Example | ||
```bash | ||
npx shadcn-ui add alert-dialog | ||
``` | ||
You can also run the command without any arguments to view a list of all available components: | ||
```bash | ||
npx shadcn-ui add | ||
``` | ||
## Documentation | ||
Visit http://ui.shadcn.com/docs to view the documentation. | ||
## License | ||
Licensed under the [MIT license](https://github.com/shadcn/ui/blob/main/LICENSE.md). |
36912
44