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

8 lines
185 B
JavaScript
Raw Normal View History

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