Websites/app/javascript/controllers/application.ts

12 lines
295 B
TypeScript
Raw Normal View History

2024-05-03 03:04:43 +00:00
import {Application} from "@hotwired/stimulus";
import Notice from "./notice.js";
const application = Application.start();
// Configure Stimulus development experience
application.debug = false;
window.Stimulus = application;
application.register("notice", Notice);
export { application };