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