Skip to content

How to use Phlex components with TurboFrame? #664

Answered by mtomov
shettytejas asked this question in Help
Discussion options

You must be logged in to vote

We're using them without issues.

  include Phlex::Rails::Helpers::TurboStream
  include Phlex::Rails::Helpers::TurboStreamFrom
  include Phlex::Rails::Helpers::TurboFrameTag

just include those 3 in ApplicationComponent and that's it, no other changes

then as usual turbo_stream_from(@recording) ..

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@shettytejas
Comment options

@olance
Comment options

@shettytejas
Comment options

@olance
Comment options

@joeldrapper
Comment options

Answer selected by joeldrapper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants