I’ve been working with Surface and missing the phx.gen.live
generator, so I translated it to surface. Github repo
Currently it is just a straightforward translation with the same pieces as phx.gen.live
but in Surface form, but later I may pull out more components, e.g.: a generic resource listing component, edit/save/delete buttons etc.
It also contains a simple generator for new Surface components, allowing you to specify props and their types and defaults similarly to generating a schema with columns.