Skip to content

Commit

Permalink
fix(iview): register plugin only once (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa authored and clarkdo committed May 13, 2019
1 parent afe1c6c commit 7ab985d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions template/frameworks/iview/plugins/iview.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import Vue from "vue";
import iView from "iview";
import locale from "iview/dist/locale/en-US"; // Change locale, check node_modules/iview/dist/locale

export default () => {
Vue.use(iView, {
locale
});
}
Vue.use(iView, {
locale
});

0 comments on commit 7ab985d

Please sign in to comment.