3 Star 30 Fork 12

Carl/nuxt3-template

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
app.vue 472 Bytes
一键复制 编辑 原始数据 按行查看 历史
Carl 提交于 3个月前 . 3.15.4
<script setup lang="ts">
import en from 'element-plus/dist/locale/en.mjs'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
const language = ref('zh-cn')
const locale = computed(() => (language.value === 'zh-cn' ? zhCn : en))
</script>
<template>
<div>
<NuxtLoadingIndicator />
<NuxtRouteAnnouncer />
<ElConfigProvider size="large" :locale="locale" :message="{ max: 2, grouping: true }">
<NuxtPage />
</ElConfigProvider>
</div>
</template>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/webMa/nuxt3-template.git
git@gitee.com:webMa/nuxt3-template.git
webMa
nuxt3-template
nuxt3-template
master

搜索帮助