mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-11 10:53:52 +02:00
35 lines
724 B
JavaScript
35 lines
724 B
JavaScript
// Copyright(c) 2019-2025 pypy, Natsumi and individual contributors.
|
|
// All rights reserved.
|
|
//
|
|
// This work is licensed under the terms of the MIT license.
|
|
// For a copy, see <https://opensource.org/licenses/MIT>.
|
|
|
|
import { createApp } from 'vue';
|
|
|
|
import ElementPlus from 'element-plus';
|
|
|
|
import {
|
|
i18n,
|
|
initComponents,
|
|
initPlugins,
|
|
initRouter,
|
|
initSentry
|
|
} from './plugin';
|
|
import { initPiniaPlugins, pinia } from './stores';
|
|
|
|
import App from './App.vue';
|
|
|
|
await initPlugins();
|
|
await initPiniaPlugins();
|
|
|
|
// #region | Hey look it's most of VRCX!
|
|
|
|
const app = createApp(App);
|
|
|
|
app.use(pinia).use(i18n).use(ElementPlus);
|
|
initComponents(app);
|
|
initRouter(app);
|
|
await initSentry(app);
|
|
|
|
app.mount('#root');
|