Hey guys,
Im using the rails pipeline with not webpack
I have a stimulus controller
I have gem ‘hotwire-rails’ on my Gemfile
All is working well, except when I trying call Turbo.visit
on stimulus controller.
I saw here the js is exporting the Turbo
object, but different from ‘stimulus’ its not possible to import stuffs from ‘turbo’
import { Controller } from “stimulus” // Works
import { Turbo } from ‘turbo’ // not works
any ideia how access Turbo on assets pipeline?
Thanks