Sha256: 471c5c88090530253676f85240a6e175592cbbc7ef0ecb9101d9cd16e532918a

Contents?: true

Size: 774 Bytes

Versions: 8

Compression:

Stored size: 774 Bytes

Contents

# Component Generators

The gem adds generators to your application to help you copy the code from this application into
yours.

Each time you run the generator it will check to make sure you have the prerequisites, like Tailwind
and the shadcn stylesheet, and if not, do its best to reconcile that for you.

After that it will copy the component files into your application. If you edit the component,
re-running the generator for it will remove your edits. **Re-running a component generator is
basically reinstalling it and overwriting any changes you might have made.**

The generator will show up in `rails g` and it is called `shadcn-ui`

## Usage

```
rails generate shadcn-ui <component_name>
```

You can list out the available components from `rails g shadcn-ui`.

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shadcn-ui-0.0.15 app/views/documentation/generators.html.md
shadcn-ui-0.0.14 app/views/documentation/generators.html.md
shadcn-ui-0.0.13 app/views/documentation/generators.html.md
shadcn-ui-0.0.12 app/views/documentation/generators.html.md
shadcn-ui-0.0.10 app/views/documentation/generators.html.md
shadcn-ui-0.0.8 app/views/documentation/generators.html.md
shadcn-ui-0.0.5 app/views/documentation/generators.html.md
shadcn-ui-0.0.4 app/views/documentation/generators.html.md