6 changed files with 42 additions and 2 deletions
@ -0,0 +1,10 @@
|
||||
import * as components from "@element-plus/icons-vue"; |
||||
|
||||
export default{ |
||||
install:(app)=>{ |
||||
for (const key in components){ |
||||
const componentConfig = components[key]; |
||||
app.component(componentConfig.name, componentConfig); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue