phlex-rails
phlex-rails copied to clipboard
Using Herb Dev Tools with Phlex
Herb Dev Tools provide visual debugging in the browser for ERB templates. It would be nice to be able to debug Phlex view and components as well.
- we need a generic implementation in Phlex to detect that we're in dev mode (
Herb::Engineexposes adebugoption) - if we're in dev mode, phlex-rails needs to produce the right markup (see
Herb::Engine::DebugVisitor)