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