add Cell component for init

This commit is contained in:
梁灏 2018-06-20 15:17:54 +08:00
parent a0141266d4
commit 59a3b893b7
10 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,2 @@
import CellGroup from '../cell/cell-group.vue';
export default CellGroup;

View file

@ -0,0 +1,11 @@
<template>
</template>
<script>
export default {
props: {
},
}
</script>

View file

@ -0,0 +1,11 @@
<template>
</template>
<script>
export default {
props: {
},
}
</script>

View file

@ -0,0 +1,5 @@
import Cell from './cell.vue';
import CellGroup from './cell-group.vue';
Cell.Group = CellGroup;
export default Cell;

View file

@ -11,6 +11,7 @@ import Button from './components/button';
import Card from './components/card';
import Carousel from './components/carousel';
import Cascader from './components/cascader';
import Cell from './components/cell';
import Checkbox from './components/checkbox';
import Circle from './components/circle';
import Collapse from './components/collapse';
@ -74,6 +75,8 @@ const components = {
Carousel,
CarouselItem: Carousel.Item,
Cascader,
Cell,
CellGroup: Cell.Group,
Checkbox,
CheckboxGroup: Checkbox.Group,
Col,

View file

@ -0,0 +1,5 @@
@cell-prefix-cls: ~"@{css-prefix}cell";
.@{cell-prefix-cls} {
}

View file

@ -48,3 +48,4 @@
@import "divider";
@import "anchor";
@import "time";
@import "cell";