feat: i18n lazy load
This commit is contained in:
parent
ccffe9daa8
commit
07209a7d29
6 changed files with 25 additions and 17 deletions
7
app.vue
7
app.vue
|
@ -1,5 +1,6 @@
|
|||
<script setup>
|
||||
usePageHeader()
|
||||
setupPageHeader()
|
||||
await setupI18n()
|
||||
|
||||
// We want to trigger rerendering the page when account changes
|
||||
const key = computed(() => useMasto().instances.config.url || 'default')
|
||||
|
@ -10,7 +11,5 @@ const key = computed(() => useMasto().instances.config.url || 'default')
|
|||
<NuxtLayout :key="key">
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
<TeleportTarget
|
||||
id="teleport-end"
|
||||
/>
|
||||
<TeleportTarget id="teleport-end" />
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue