Use Turbo Frame Tag in ViewComponent

Photo by James Harrison on Unsplash

You can see this error:

undefined method `turbo_frame_tag'

when trying to use turbo_frame_tag inside of your ViewComponent.

To solve this, add a helper to your ApplicationComponent:

And inherit from ApplicationComponent.

--

--