2020-03-21 03:14:50 +01:00
|
|
|
import Rails from '@rails/ujs';
|
2018-07-14 03:56:41 +02:00
|
|
|
|
|
|
|
export function start() {
|
2018-09-28 02:11:14 +02:00
|
|
|
require('font-awesome/css/font-awesome.css');
|
2018-07-14 03:56:41 +02:00
|
|
|
require.context('../images/', true);
|
|
|
|
|
2019-01-17 14:06:08 +01:00
|
|
|
try {
|
|
|
|
Rails.start();
|
|
|
|
} catch (e) {
|
|
|
|
// If called twice
|
|
|
|
}
|
2018-07-14 03:56:41 +02:00
|
|
|
};
|