refactor: export

This commit is contained in:
xiaojunnuo
2021-02-09 19:01:15 +08:00
parent 105a1b80ae
commit 136983cf14
5 changed files with 2 additions and 19 deletions
+1
View File
@@ -21,6 +21,7 @@ const icons = {
}
export default function (app) {
_.forEach(icons, item => {
console.log('icons:', item.name)
app.component(item.name, item)
})
}