You've already forked AstralRinth
forked from didirus/AstralRinth
* Implement loading * LoadingBar * Run linter * Update App.vue * Loading bar all the things * Update SplashScreen.vue * Update SplashScreen.vue * Update App.vue * initial revert * Update Instance.vue * revert css * Fix instance * More reverting * Run lint * Finalize changes * Revert "Merge branch 'master' into loading" This reverts commit 3014e765fb6fb343f3030fd8a822edd97fb2af41, reversing changes made to b780e859d2b53a203eb3561ba3be88af083d9c15. * Fix loading issues * fix lint * Revert "Revert "Merge branch 'master' into loading"" This reverts commit 971ef8466613579b7f523edbd25b692df62d0f86. --------- Co-authored-by: Jai A <jaiagr+gpg@pm.me>
26 lines
616 B
JavaScript
26 lines
616 B
JavaScript
import { createApp } from 'vue'
|
|
import router from '@/routes'
|
|
import App from '@/App.vue'
|
|
import { createPinia } from 'pinia'
|
|
import 'omorphia/dist/style.css'
|
|
import '@/assets/stylesheets/global.scss'
|
|
import FloatingVue from 'floating-vue'
|
|
import { initialize_state } from '@/helpers/state'
|
|
import loadCssMixin from './mixins/macCssFix.js'
|
|
|
|
const pinia = createPinia()
|
|
|
|
let app = createApp(App)
|
|
app.use(router)
|
|
app.use(pinia)
|
|
app.use(FloatingVue)
|
|
app.mixin(loadCssMixin)
|
|
|
|
const mountedApp = app.mount('#app')
|
|
|
|
initialize_state()
|
|
.then(() => mountedApp.initialize())
|
|
.catch((err) => {
|
|
console.error(err)
|
|
})
|