2023-03-17 15:46:55 -04:00
|
|
|
import { createApp } from 'vue'
|
|
|
|
|
import router from '@/routes'
|
|
|
|
|
import App from '@/App.vue'
|
|
|
|
|
import { createPinia } from 'pinia'
|
2023-04-08 18:54:38 -07:00
|
|
|
import FloatingVue from 'floating-vue'
|
2024-07-20 02:20:12 +02:00
|
|
|
import 'floating-vue/dist/style.css'
|
2024-07-04 21:46:29 -07:00
|
|
|
import { createPlugin } from '@vintl/vintl/plugin'
|
2024-08-27 21:19:07 -07:00
|
|
|
import * as Sentry from '@sentry/vue'
|
2024-07-04 21:46:29 -07:00
|
|
|
|
|
|
|
|
const VIntlPlugin = createPlugin({
|
|
|
|
|
controllerOpts: {
|
|
|
|
|
defaultLocale: 'en-US',
|
|
|
|
|
locale: 'en-US',
|
|
|
|
|
locales: [
|
|
|
|
|
{
|
|
|
|
|
tag: 'en-US',
|
|
|
|
|
meta: {
|
|
|
|
|
displayName: 'American English',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
globalMixin: true,
|
|
|
|
|
injectInto: [],
|
|
|
|
|
})
|
2023-02-27 09:11:34 -07:00
|
|
|
|
2023-03-17 15:46:55 -04:00
|
|
|
const pinia = createPinia()
|
|
|
|
|
|
2023-04-26 10:28:08 -07:00
|
|
|
let app = createApp(App)
|
2024-08-27 21:19:07 -07:00
|
|
|
|
|
|
|
|
Sentry.init({
|
|
|
|
|
app,
|
|
|
|
|
dsn: 'https://9508775ee5034536bc70433f5f531dd4@o485889.ingest.us.sentry.io/4504579615227904',
|
|
|
|
|
integrations: [Sentry.browserTracingIntegration({ router })],
|
|
|
|
|
tracesSampleRate: 0.1,
|
|
|
|
|
})
|
|
|
|
|
|
2023-04-26 10:28:08 -07:00
|
|
|
app.use(router)
|
|
|
|
|
app.use(pinia)
|
|
|
|
|
app.use(FloatingVue)
|
2024-07-04 21:46:29 -07:00
|
|
|
app.use(VIntlPlugin)
|
2023-04-26 10:28:08 -07:00
|
|
|
|
2024-08-16 23:20:11 -07:00
|
|
|
app.mount('#app')
|