Files
VRCX/src/app.js
2025-09-25 05:20:17 +12:00

28 lines
658 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 { pinia } from './stores';
import { initPlugins, i18n, initComponents, initSentry } from './plugin';
import ElementPlus from 'element-plus';
import App from './App.vue';
await initPlugins();
// #region | Hey look it's most of VRCX!
const app = createApp(App);
app.use(pinia);
app.use(i18n);
app.use(ElementPlus);
initComponents(app);
await initSentry(app);
app.mount('#root');
window.$app = app;