Sha256: 6ef884f3d512107c0552e66ec1526a7b60abd7aea7ca48dfa5275c1942a6087f

Contents?: true

Size: 980 Bytes

Versions: 14

Compression:

Stored size: 980 Bytes

Contents

Description:
    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:
    bin/rails generate scaffold Post tile:string body:text

    This will create:

        app/
          controllers/
            posts_controller.rb
          models/
            post.rb
          ...
        frontend/
          src
            pages
              posts
                [id]
                  edit.js
                  index.js
                _components
                  Post.js
                  PostForm.js
                index.js
                new.js
              services.js

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
next_rails_scaffold-0.2.0 lib/generators/next_rails_scaffold/USAGE
next_rails_scaffold-0.1.13 lib/generators/next_rails_scaffold/USAGE
next_rails_scaffold-0.1.12 lib/generators/next_rails_scaffold/USAGE
next_rails_scaffold-0.1.11 lib/generators/next_rails_scaffold/USAGE
next_rails_scaffold-0.1.10 lib/generators/next_rails_scaffold/USAGE
next_rails_scaffold-0.1.9 lib/generators/next_rails/USAGE
next_rails_scaffold-0.1.8 lib/generators/next_rails/USAGE
next_rails_scaffold-0.1.7 lib/generators/next_rails/USAGE
next_rails_scaffold-0.1.6 lib/generators/next_rails/USAGE
next_rails_scaffold-0.1.5 lib/generators/next_rails/USAGE
next_rails_scaffold-0.1.4 lib/generators/next_rails/USAGE
next_rails_scaffold-0.1.3 lib/generators/next_rails/USAGE
next_rails_scaffold-0.1.2 lib/generators/next_rails/USAGE
next_rails_scaffold-0.1.1 lib/generators/next_rails/USAGE