diff --git a/src/components/ElIcon/index.vue b/src/components/ElIcon/index.vue deleted file mode 100644 index cc67a306..00000000 --- a/src/components/ElIcon/index.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - - - diff --git a/src/icons/index.js b/src/icons/index.js index 3ea4bb40..2c6b309c 100644 --- a/src/icons/index.js +++ b/src/icons/index.js @@ -1,10 +1,8 @@ import Vue from 'vue' import SvgIcon from '@/components/SvgIcon'// svg component -import ElIcon from '@/components/ElIcon' // register globally Vue.component('svg-icon', SvgIcon) -Vue.component('el-icon', ElIcon) const req = require.context('./svg', false, /\.svg$/) const requireAll = requireContext => requireContext.keys().map(requireContext) diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue index 9302d919..72d7e768 100644 --- a/src/layout/components/Sidebar/Item.vue +++ b/src/layout/components/Sidebar/Item.vue @@ -1,6 +1,4 @@