Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 7e533dd

Browse files
Pooya Parsaclarkdo
Pooya Parsa
authored andcommitted
fix(element): register element UI only once (#232)
1 parent bdcd118 commit 7e533dd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

template/frameworks/element-ui/plugins/element-ui.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@ import Vue from 'vue'
22
import Element from 'element-ui'
33
import locale from 'element-ui/lib/locale/lang/en'
44

5-
export default () => {
6-
Vue.use(Element, { locale })
7-
}
5+
Vue.use(Element, { locale })

0 commit comments

Comments
 (0)