This commit is contained in:
Ivan
2021-06-07 11:56:04 +08:00
commit c3c9fee2fb
1071 changed files with 195655 additions and 0 deletions

8
packages/icon/index.js Normal file
View File

@@ -0,0 +1,8 @@
import ElIcon from './src/icon.vue';
/* istanbul ignore next */
ElIcon.install = function(Vue) {
Vue.component(ElIcon.name, ElIcon);
};
export default ElIcon;

View File

@@ -0,0 +1,13 @@
<template>
<i :class="'el-icon-' + name"></i>
</template>
<script>
export default {
name: 'ElIcon',
props: {
name: String
}
};
</script>