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';
|
2023-02-23 07:52:33 -08:00
|
|
|
import initializeServiceWorker from './initializers/serviceWorker';
|
2023-01-05 23:35:02 -08:00
|
|
|
import initializeStimulus from './initializers/stimulus';
|
2020-12-26 09:16:08 -08:00
|
|
|
|
|
|
|
export default function start(): void {
|
|
|
|
try {
|
2023-01-05 23:35:02 -08:00
|
|
|
initializeBootstrap();
|
2023-02-23 07:52:33 -08:00
|
|
|
initializeServiceWorker();
|
2023-01-05 23:35:02 -08:00
|
|
|
initializeStimulus();
|
2020-12-26 09:16:08 -08:00
|
|
|
} catch (e) {
|
|
|
|
// initialization errors
|
|
|
|
}
|
2023-01-05 23:35:02 -08:00
|
|
|
}
|