import { createApp } from 'vue' import App from './App.vue' // const SiteOff = { // template: `
//

Site is currently unavailable.

//

We are currently performing maintenance. We will be back shortly!

//
` // }; // const siteIsOff = true; import router from "@/router/router"; import mitt from 'mitt' import { Mixins } from "@/mixins/mixin"; import { ConnectToChat } from "@/assets/js/chat/ChatLogic.js"; import '@/assets/css/global.css' export const eventBus = mitt() const app = createApp(App) // const app = createApp(siteIsOff ? SiteOff : App); // if (!siteIsOff) { // app.use(router); // app.mixin(Mixins); // app.provide(eventBus); // // ConnectToChat(); // Uncomment if chat should also be disabled when the site is off. // } app.use(router) app.mixin(Mixins) app.mount('#app') app.provide(eventBus) ConnectToChat();