fix: i18n SSR
This commit is contained in:
parent
d09b4deb52
commit
970b6538e2
5 changed files with 24 additions and 23 deletions
5
app.vue
5
app.vue
|
@ -1,13 +1,12 @@
|
|||
<script setup lang="ts">
|
||||
setupI18n()
|
||||
setupPageHeader()
|
||||
setupEmojis()
|
||||
provideGlobalCommands()
|
||||
|
||||
await setupI18n()
|
||||
|
||||
// We want to trigger rerendering the page when account changes
|
||||
const key = computed(() => `${currentUser.value?.server ?? currentServer.value}:${currentUser.value?.account.id || ''}`)
|
||||
|
||||
const { params } = useRoute()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue