mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 19:18:07 +01:00
12 lines
235 B
JavaScript
12 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
|
|
}
|
|
}
|