mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 20:28:52 +08:00
6f9ce3accb
* add avatar component * 1. add test 2. add types 3. refine doc 4. add img attr * add props in types and doc * refine how image fit its container * fix doc * refine doc * change default background color * remote style demo from doc * add theme * add demo on theme preview and change var name
9 lines
159 B
JavaScript
9 lines
159 B
JavaScript
import Avatar from './src/main';
|
|
|
|
/* istanbul ignore next */
|
|
Avatar.install = function(Vue) {
|
|
Vue.component(Avatar.name, Avatar);
|
|
};
|
|
|
|
export default Avatar;
|