phlex icon indicating copy to clipboard operation
phlex copied to clipboard

Rails Integration

Open joeldrapper opened this issue 1 year ago • 0 comments

Opening this issue as a reminder to consider interoperability with Rails partials — i.e. rendering an ERB partial inside a component and making it possible to render Phlex components in ERB templates.

Why?

  1. Interoperability with Rails ERB templates might make it easier to migrate a project to Phlex step-by-step.
  • [x] Render Rails partials in a Phlex component
  • [x] Render Phlex pages from Rails controller
  • [x] Rails component helper to render components in Rails views
  • [x] #75
  • [ ] #57
  • [ ] #120

joeldrapper avatar Jun 07 '22 18:06 joeldrapper