Nuxt/examples/with-element-ui/plugins/element-ui.js

8 lines
163 B
JavaScript
Raw Normal View History

2017-11-06 03:16:23 +00:00
import Vue from 'vue'
2018-02-28 03:15:13 +00:00
import Element from 'element-ui'
2017-11-06 03:16:23 +00:00
import locale from 'element-ui/lib/locale/lang/en'
export default () => {
Vue.use(Element, { locale })
}