[Improvement] extract component common part (#703)

This commit is contained in:
neverland
2018-03-16 17:10:46 +08:00
committed by GitHub
parent f26ad3b912
commit ffd72e5442
81 changed files with 174 additions and 207 deletions
+6 -4
View File
@@ -5,10 +5,12 @@
</template>
<script>
import { create } from '../utils';
import install from '../utils/install';
export default create({
name: 'van-cell-group',
export default {
install,
name: 'cell-group',
props: {
border: {
@@ -16,5 +18,5 @@ export default create({
default: true
}
}
});
};
</script>