wip
This commit is contained in:
@@ -40,11 +40,11 @@ import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import widgets from '@/widgets';
|
||||
import directives from '@/directives';
|
||||
import components from '@/components';
|
||||
import { version, ui } from '@/config';
|
||||
import { version, ui, lang } from '@/config';
|
||||
import { router } from '@/router';
|
||||
import { applyTheme } from '@/scripts/theme';
|
||||
import { isDeviceDarkmode } from '@/scripts/is-device-darkmode';
|
||||
import { i18n, lang } from '@/i18n';
|
||||
import { i18n } from '@/i18n';
|
||||
import { stream, isMobile, dialog } from '@/os';
|
||||
import * as sound from '@/scripts/sound';
|
||||
import { $i, refreshAccount, login, updateAccount, signout } from '@/account';
|
||||
@@ -53,6 +53,8 @@ import { fetchInstance, instance } from '@/instance';
|
||||
|
||||
console.info(`Misskey v${version}`);
|
||||
|
||||
window.clearTimeout(window.mkBootTimer);
|
||||
|
||||
if (_DEV_) {
|
||||
console.warn('Development mode!!!');
|
||||
|
||||
@@ -175,10 +177,11 @@ app.config.globalProperties = {
|
||||
$i,
|
||||
$store: defaultStore,
|
||||
$instance: instance,
|
||||
$t: i18n.t,
|
||||
$ts: i18n.locale,
|
||||
};
|
||||
|
||||
app.use(router);
|
||||
app.use(i18n);
|
||||
// eslint-disable-next-line vue/component-definition-name-casing
|
||||
app.component('Fa', FontAwesomeIcon);
|
||||
|
||||
|
Reference in New Issue
Block a user