Add File
This commit is contained in:
16
frontend/src/App.vue
Normal file
16
frontend/src/App.vue
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import { computed } from 'vue'
|
||||||
|
import { ElConfigProvider } from 'element-plus-secondary'
|
||||||
|
import { getElementLocale } from '@/i18n'
|
||||||
|
const elLanguage = computed(() => {
|
||||||
|
return getElementLocale()
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<el-config-provider :locale="elLanguage">
|
||||||
|
<router-view />
|
||||||
|
</el-config-provider>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped></style>
|
||||||
Reference in New Issue
Block a user