File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
src/Turbo/Resources/assets Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11import { Controller } from '@hotwired/stimulus' ;
2- import * as Turbo from '@hotwired/turbo' ;
2+ import '@hotwired/turbo' ;
33
4- window . Turbo = Turbo ;
54class turbo_controller extends Controller {
65}
76
Original file line number Diff line number Diff line change 1919 "@hotwired/stimulus" : " ^3.0.0"
2020 },
2121 "devDependencies" : {
22- "@hotwired/turbo" : " ^7.0.1 " ,
22+ "@hotwired/turbo" : " ^7.1.0 " ,
2323 "@hotwired/stimulus" : " ^3.0.0"
2424 }
2525}
Original file line number Diff line number Diff line change 88 */
99
1010import { Controller } from '@hotwired/stimulus' ;
11- import * as Turbo from '@hotwired/turbo' ;
12-
13- // Expose Turbo to the rest of the app to allow for dynamic Turbo calls
14- window . Turbo = Turbo ;
11+ import '@hotwired/turbo' ;
1512
1613/**
1714 * Empty Stimulus controller only used for Symfony Flex wiring.
You can’t perform that action at this time.
0 commit comments