README.md in next_rails_scaffold-0.1.10 vs README.md in next_rails_scaffold-0.1.11
- old
+ new
@@ -39,9 +39,13 @@
The `next_rails_scaffold` gem enhances the default Ruby on Rails scaffold generator by seamlessly integrating with Next.js, a React framework. This gem automates the process of scaffolding a Rails application along with a corresponding frontend directory containing a Next.js application. The generated Next.js app includes all necessary pages and components, leveraging the power of page routing for a smooth and organized development experience.
Example:
```
+# Appending the `next_rails_scaffold` generator steps to the to the Rails' scaffold generator.
+bin/rails generate next_rails_scaffold:install
+
+# Generate the RESfull API endpoints and Next.js app with respective components and pages.
bin/rails generate scaffold Post tile:string body:text
```
This will create: