mirror of
https://github.com/funamitech/mastodon
synced 2024-12-14 14:49:01 +09:00
c3e12a4dfa
Load the `common` style pack, and then charge the style pack for the current skin, independent from any selected JS pack.
13 lines
214 B
JavaScript
13 lines
214 B
JavaScript
import Rails from '@rails/ujs';
|
|
import 'font-awesome/css/font-awesome.css';
|
|
|
|
export function start() {
|
|
require.context('@/images/', true);
|
|
|
|
try {
|
|
Rails.start();
|
|
} catch (e) {
|
|
// If called twice
|
|
}
|
|
}
|