14 lines
409 B
TypeScript
14 lines
409 B
TypeScript
import * as Turbo from '@hotwired/turbo';
|
|
import { Application } from '@hotwired/stimulus';
|
|
|
|
import '../manager/fields/features';
|
|
import { registerControllers } from '../shared/stimulus-loader';
|
|
|
|
const application = Application.start();
|
|
registerControllers(application);
|
|
|
|
Turbo.session.drive = false;
|
|
|
|
addEventListener('DOMContentLoaded', () => {
|
|
document.body.setAttribute('data-controller', 'turbo');
|
|
});
|