mirror of https://github.com/wg-easy/wg-easy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
642 B
31 lines
642 B
<template>
|
|
<div>
|
|
<p class="p-8 text-center text-lg">
|
|
{{ $t('setup.messageSetupLanguage') }}
|
|
</p>
|
|
<div class="mb-8 flex justify-center">
|
|
<UiChooseLang @update:lang="handleEventUpdateLang" />
|
|
</div>
|
|
<div><BaseButton @click="nextStep">Continue</BaseButton></div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
definePageMeta({
|
|
layout: 'setup',
|
|
});
|
|
|
|
const { setLocale } = useI18n();
|
|
|
|
function handleEventUpdateLang(value: string) {
|
|
setLocale(value);
|
|
}
|
|
const setupStore = useSetupStore();
|
|
setupStore.setStep(1);
|
|
|
|
const router = useRouter();
|
|
|
|
async function nextStep() {
|
|
router.push('/setup/2');
|
|
}
|
|
</script>
|
|
|