Some checks failed
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
Deploy telemetry dashboard / deploy (push) Has been cancelled
Prepare pnpm cache / prepare (push) Has been cancelled
42 lines
997 B
JavaScript
42 lines
997 B
JavaScript
import 'floating-vue/dist/style.css'
|
|
import 'overlayscrollbars/overlayscrollbars.css'
|
|
import '@/assets/stylesheets/global.css'
|
|
|
|
import { VueQueryPlugin } from '@tanstack/vue-query'
|
|
import FloatingVue from 'floating-vue'
|
|
import { createPinia } from 'pinia'
|
|
import { createApp } from 'vue'
|
|
|
|
import App from '@/App.vue'
|
|
import { overlayScrollbarsDirective } from '@/directives/overlayScrollbars'
|
|
import i18nPlugin from '@/plugins/i18n'
|
|
import i18nDebugPlugin from '@/plugins/i18n-debug'
|
|
import router from '@/routes'
|
|
|
|
const pinia = createPinia()
|
|
|
|
const app = createApp(App)
|
|
|
|
app.use(VueQueryPlugin)
|
|
app.use(router)
|
|
app.use(pinia)
|
|
app.use(FloatingVue, {
|
|
themes: {
|
|
'ribbit-popout': {
|
|
$extend: 'dropdown',
|
|
placement: 'bottom-end',
|
|
instantMove: true,
|
|
distance: 8,
|
|
},
|
|
'dismissable-prompt': {
|
|
$extend: 'dropdown',
|
|
placement: 'bottom-start',
|
|
},
|
|
},
|
|
})
|
|
app.use(i18nPlugin)
|
|
app.use(i18nDebugPlugin)
|
|
app.directive('overlay-scrollbars', overlayScrollbarsDirective)
|
|
|
|
app.mount('#app')
|