2020-03-21 02:14:50 +00:00
|
|
|
import Rails from '@rails/ujs';
|
2023-05-09 01:08:47 +00:00
|
|
|
import 'font-awesome/css/font-awesome.css';
|
2018-07-14 01:56:41 +00:00
|
|
|
|
|
|
|
export function start() {
|
2024-04-08 08:17:51 +00:00
|
|
|
require.context('../images/', true, /\.(jpg|png|svg)$/);
|
2018-07-14 01:56:41 +00:00
|
|
|
|
2019-01-17 13:06:08 +00:00
|
|
|
try {
|
|
|
|
Rails.start();
|
|
|
|
} catch (e) {
|
|
|
|
// If called twice
|
|
|
|
}
|
2022-12-18 15:51:37 +00:00
|
|
|
}
|