mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
lint: apply pretty import
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import AvatarInfo from '../components/AvatarInfo.vue';
|
||||
import CountdownTimer from '../components/CountdownTimer.vue';
|
||||
import DataTable from '../components/DataTable.vue';
|
||||
import DisplayName from '../components/DisplayName.vue';
|
||||
import InstanceInfo from '../components/InstanceInfo.vue';
|
||||
import InviteYourself from '../components/InviteYourself.vue';
|
||||
@@ -8,7 +9,6 @@ import Launch from '../components/Launch.vue';
|
||||
import Location from '../components/Location.vue';
|
||||
import LocationWorld from '../components/LocationWorld.vue';
|
||||
import Timer from '../components/Timer.vue';
|
||||
import DataTable from '../components/DataTable.vue';
|
||||
|
||||
export function initComponents(app) {
|
||||
app.component('Location', Location);
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
||||
import dayjs from 'dayjs';
|
||||
import duration from 'dayjs/plugin/duration';
|
||||
import isSameOrAfter from 'dayjs/plugin/isSameOrAfter';
|
||||
import localizedFormat from 'dayjs/plugin/localizedFormat';
|
||||
import timezone from 'dayjs/plugin/timezone';
|
||||
import utc from 'dayjs/plugin/utc';
|
||||
import localizedFormat from 'dayjs/plugin/localizedFormat';
|
||||
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
||||
|
||||
export function initDayjs() {
|
||||
dayjs.extend(duration);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { createI18n } from 'vue-i18n';
|
||||
|
||||
import * as localizedStrings from '../localization/localizedStrings';
|
||||
|
||||
const i18n = createI18n({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { initInteropApi } from './interopApi';
|
||||
import { initDayjs } from './dayjs';
|
||||
import { initInteropApi } from './interopApi';
|
||||
import { initNoty } from './noty';
|
||||
import { initUi } from './ui';
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import * as Sentry from '@sentry/vue';
|
||||
import configRepository from '../service/config';
|
||||
|
||||
import * as Sentry from '@sentry/vue';
|
||||
|
||||
export async function initSentry(app) {
|
||||
const enabled = await configRepository.getString(
|
||||
'VRCX_SentryEnabled',
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
import configRepository from '../service/config';
|
||||
import {
|
||||
changeAppDarkStyle,
|
||||
changeAppThemeStyle,
|
||||
getThemeMode,
|
||||
refreshCustomCss,
|
||||
refreshCustomScript,
|
||||
setLoginContainerStyle,
|
||||
getThemeMode
|
||||
setLoginContainerStyle
|
||||
} from '../shared/utils/base/ui';
|
||||
import { i18n } from './i18n';
|
||||
|
||||
import configRepository from '../service/config';
|
||||
|
||||
export async function initUi() {
|
||||
try {
|
||||
// @ts-ignore
|
||||
|
||||
Reference in New Issue
Block a user