mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 03:55:59 +00:00
27 lines
664 B
Vue
27 lines
664 B
Vue
<template>
|
|
<NuxtLayout>
|
|
<NuxtRouteAnnouncer />
|
|
<ClientOnly>
|
|
<LoadingBar />
|
|
</ClientOnly>
|
|
<NotificationPanel />
|
|
<AdsConsentNotification />
|
|
<I18nDebugPanel />
|
|
<NuxtPage />
|
|
</NuxtLayout>
|
|
</template>
|
|
<script setup lang="ts">
|
|
import { I18nDebugPanel, LoadingBar, NotificationPanel } from '@modrinth/ui'
|
|
|
|
import AdsConsentNotification from '~/components/ui/AdsConsentNotification.vue'
|
|
import { setupProviders } from '~/providers/setup.ts'
|
|
import { setupUserCountryProvider } from '~/providers/setup/user-country.ts'
|
|
|
|
import { useAuth } from './composables/auth'
|
|
|
|
setupUserCountryProvider()
|
|
|
|
const auth = await useAuth()
|
|
setupProviders(auth)
|
|
</script>
|