Working with Rails and Turbo


Topic: Working with Rails and Turbo

vishwasb pro premium priority asked 12 months ago

Expected behavior

Components have a javascript, but in Rails, there is a Turbo page load, so in javascript there should be a way to trigger component's javascript (for example Tooltip). I tried with native bootstrap way but it does not work

Actual behavior

Currently import statement are performed on page load, but not on Rails navigation with Turbo.

Resources (screenshots, code snippets etc.)

Please answer also the https://mdbootstrap.com/support/standard/how-to-work-with-ruby-on-rails-7-and-mdb5/


passandu pro premium priority commented 5 months ago

hi, do u find a way to make it work with rubo rails?


Kamila Pieńkowska staff answered 12 months ago

We have a tutorial on how to set up a simple app in Rails using MDB https://mdbootstrap.com/docs/standard/integrations/rails/

Some elements may need initiation with JS but you need to use MDB docs to look for them.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.0.0
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: No
  • Provided link: Yes