Files

27 lines
526 B
Vue
Raw Permalink Normal View History

2024-11-08 23:33:17 +08:00
<script setup lang="ts">
import { I18nUtils } from 'easytier-frontend-lib'
import { onMounted } from 'vue';
2024-11-10 11:06:58 +08:00
import { Toast, DynamicDialog } from 'primevue';
2024-11-08 23:33:17 +08:00
onMounted(async () => {
2025-06-24 09:09:52 +08:00
await I18nUtils.loadLanguageAsync(localStorage.getItem('lang') || 'en')
2024-11-08 23:33:17 +08:00
});
</script>
<!-- https://flowbite.com/docs/components/sidebar/#sidebar-with-navbar -->
<template>
2024-11-16 21:36:16 +08:00
<Toast position="bottom-right" />
2024-11-10 11:06:58 +08:00
<DynamicDialog />
2024-11-08 23:33:17 +08:00
2024-11-10 11:06:58 +08:00
<RouterView />
2024-11-08 23:33:17 +08:00
</template>
<style scoped>
button {
text-align: left;
justify-content: left;
}
</style>