generated from boboko/starter
18 lines
576 B
JavaScript
18 lines
576 B
JavaScript
import "./bootstrap";
|
|
import "./utils/strip-accents";
|
|
import "./utils/refresh-scroll";
|
|
|
|
// Frames only — no site-wide Turbo Drive. <turbo-frame> navigations still work
|
|
// (that's how the category listing reloads); every other link and form on the
|
|
// site keeps its normal full-page browser behaviour.
|
|
import "@hotwired/turbo";
|
|
window.Turbo.session.drive = false;
|
|
|
|
import { Application } from "@hotwired/stimulus";
|
|
import { registerControllers } from "./stimulus/index";
|
|
|
|
const application = Application.start();
|
|
application.debug = false;
|
|
|
|
registerControllers(application);
|