Retrospring/app/javascript/retrospring/common.ts

13 lines
303 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 initializeStimulus from './initializers/stimulus';
export default function start(): void {
try {
2023-01-05 23:35:02 -08:00
initializeBootstrap();
initializeStimulus();
} catch (e) {
// initialization errors
}
2023-01-05 23:35:02 -08:00
}