Update navigation routing and add Element Plus plugin
This commit is contained in:
9
plugins/element.ts
Normal file
9
plugins/element.ts
Normal 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
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user