demarches-normaliennes/app/javascript/entrypoints/manager.ts
2023-01-16 21:40:10 +01:00

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');
});