Skip to content

Generator command (phx.gen.inertia, similar to phx.gen.html) #65

@osbre

Description

@osbre

Let me know if you think this is a good idea. I'd be happy to try to contribute.

phx.gen.inertia, which would work nearly the same as phx.gen.html:

It would generate Inertia-based controllers and tests, while still reusing Phoenix templates for the regular context, schema and migration templates. The views side (frontend) would be out of scope, I assume, due to the variety of options (or we could check package.json to detect the framework).

I think generators are always helpful for people starting out and for AI-assisted development.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions