field component

This commit is contained in:
cookfront
2017-02-12 12:35:10 +08:00
parent 5f37f3ee54
commit a7dec9fe8e
7 changed files with 53 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
import Sample from '../packages/sample/index.js';
import Button from '../packages/button/index.js';
import Switch from '../packages/switch/index.js';
import Field from '../packages/field/index.js';
// zenui
import '../packages/zenui/src/index.pcss';
@@ -10,6 +11,7 @@ const install = function(Vue) {
Vue.component(Sample.name, Sample);
Vue.component(Button.name, Button);
Vue.component(Switch.name, Switch);
Vue.component(Field.name, Field);
};
// auto install
@@ -22,5 +24,6 @@ module.exports = {
version: '0.0.1',
Sample,
Button,
Switch
Switch,
Field
};