mirror of
https://github.com/funamitech/mastodon
synced 2024-12-15 07:09:03 +09:00
13 lines
235 B
JavaScript
13 lines
235 B
JavaScript
import Rails from '@rails/ujs';
|
|
import 'font-awesome/css/font-awesome.css';
|
|
|
|
export function start() {
|
|
require.context('../images/', true, /\.(jpg|png|svg)$/);
|
|
|
|
try {
|
|
Rails.start();
|
|
} catch (e) {
|
|
// If called twice
|
|
}
|
|
}
|