Update navigation routing and add Element Plus plugin

This commit is contained in:
wangqiao
2025-08-23 21:35:25 +08:00
parent 38f6d8c062
commit ee8ce32af6
2 changed files with 11 additions and 2 deletions

9
plugins/element.ts Normal file
View File

@ -0,0 +1,9 @@
import { defineNuxtPlugin } from '#app'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
export default defineNuxtPlugin(nuxtApp => {
nuxtApp.vueApp.use(ElementPlus, {
locale: zhCn
})
})