9 lines
		
	
	
		
			238 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			238 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| 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
 | |
|   })
 | |
| }) | 
