app/views/documentation/generators.html.md in shadcn-ui-0.0.3 vs app/views/documentation/generators.html.md in shadcn-ui-0.0.4
- old
+ new
@@ -1,20 +1,40 @@
# 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`.