Retrospring/app/javascript/retrospring/common.ts

15 lines
402 B
TypeScript
Raw Normal View History

2022-09-04 05:33:51 -07:00
import '@hotwired/turbo-rails';
2023-01-05 23:35:02 -08:00
import initializeBootstrap from './initializers/bootstrap';
import initializeServiceWorker from './initializers/serviceWorker';
2023-01-05 23:35:02 -08:00
import initializeStimulus from './initializers/stimulus';
export default function start(): void {
try {
2023-01-05 23:35:02 -08:00
initializeBootstrap();
initializeServiceWorker();
2023-01-05 23:35:02 -08:00
initializeStimulus();
} catch (e) {
// initialization errors
}
2023-01-05 23:35:02 -08:00
}