Hello,
Could someone help me?
I'm trying to incorporate Metronic into a rails project.
(Rails 7.2, stimulus, esbuild and tailwind)
I didn't have problems with the CSS components.
But I've been having plenty of issues with JS.
I don't know if these issues are conflicts with stimulus or turbo rails. I did many tests for a few weeks and can't find what is happening.
Do you have some tips or ways to implement your JS in a rails project?
Thanks for your help.
Regards,
Mario
Hi Fialho
Thanks for sharing your experience! Let me know if you run into anything else.
Thank you.
Hi Faizal,
Thanks so much. It's a great path.
Yeah, Turbo is the biggest issue.
I'm using Esbuild instead of Importmaps on Rails 7.2. I'm waiting for a stable version to migrate to 8.
However, I fixed some problems disabling turbo on the main links (link_to ... data: { turbo: false}).
Thank you.
Hi Fialho
Sorry for the delay in response. Here a user shared a guide on integrating Metronic 9 with Rails. We hope this information can be helpful.
https://devs.keenthemes.com/question/my-progress-on-using-metronic-9-with-rails-8-beta-1