Topic: Working with Rails and Turbo
vishwasb priority asked 11 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/
Kamila Pieńkowska staff answered 11 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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 7.0.0
- Device: any
- Browser: any
- OS: any
- Provided sample code: Yes
- Provided link: Yes
passandu priority commented 5 months ago
hi, do u find a way to make it work with rubo rails?