1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-31 03:49:46 +08:00

update: change language english

Should be use english for all developer
This commit is contained in:
Phạm Ngọc Hòa 2019-11-12 09:10:18 +07:00 committed by GitHub
parent d5c013a48c
commit 1d0443d4b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,8 @@ import Cookies from 'js-cookie'
import 'normalize.css/normalize.css' // a modern alternative to CSS resets
import elementLocale from 'element-ui/lib/locale/lang/en'
import Element from 'element-ui'
import './styles/element-variables.scss'
@ -33,7 +35,8 @@ if (process.env.NODE_ENV === 'production') {
}
Vue.use(Element, {
size: Cookies.get('size') || 'medium' // set element-ui default size
size: Cookies.get('size') || 'medium', // set element-ui default size
locale: elementLocale
})
// register global utility filters