Nuxt/examples/with-element-ui/plugins/element-ui.js
2018-02-28 11:15:13 +08:00

8 lines
163 B
JavaScript

import Vue from 'vue'
import Element from 'element-ui'
import locale from 'element-ui/lib/locale/lang/en'
export default () => {
Vue.use(Element, { locale })
}