diff --git a/components.json b/components.json
index 1c29279de..838a8444c 100644
--- a/components.json
+++ b/components.json
@@ -1,5 +1,6 @@
{
"sample": "./packages/sample/index.js",
"button": "./packages/button/index.js",
- "switch": "./packages/switch/index.js"
+ "switch": "./packages/switch/index.js",
+ "field": "./packages/field/index.js"
}
diff --git a/packages/field/CHANGELOG.md b/packages/field/CHANGELOG.md
new file mode 100644
index 000000000..e88c472b3
--- /dev/null
+++ b/packages/field/CHANGELOG.md
@@ -0,0 +1,8 @@
+## 0.0.2 (2017-01-20)
+
+* 改了bug A
+* 加了功能B
+
+## 0.0.1 (2017-01-10)
+
+* 第一版
diff --git a/packages/field/README.md b/packages/field/README.md
new file mode 100644
index 000000000..4c6172563
--- /dev/null
+++ b/packages/field/README.md
@@ -0,0 +1,26 @@
+# @youzan/<%= name %>
+
+!!! 请在此处填写你的文档最简单描述 !!!
+
+[![version][version-image]][download-url]
+[![download][download-image]][download-url]
+
+[version-image]: http://npm.qima-inc.com/badge/v/@youzan/<%= name %>.svg?style=flat-square
+[download-image]: http://npm.qima-inc.com/badge/d/@youzan/<%= name %>.svg?style=flat-square
+[download-url]: http://npm.qima-inc.com/package/@youzan/<%= name %>
+
+## Demo
+
+## Usage
+
+## API
+
+| 参数 | 说明 | 类型 | 默认值 | 可选值 |
+|-----------|-----------|-----------|-------------|-------------|
+| className | 自定义额外类名 | string | '' | '' |
+
+
+
+
+## License
+[MIT](https://opensource.org/licenses/MIT)
diff --git a/packages/field/index.js b/packages/field/index.js
new file mode 100644
index 000000000..391f5272c
--- /dev/null
+++ b/packages/field/index.js
@@ -0,0 +1,3 @@
+import Field from './src/field';
+
+export default Field;
diff --git a/packages/field/package.json b/packages/field/package.json
new file mode 100644
index 000000000..766a56bea
--- /dev/null
+++ b/packages/field/package.json
@@ -0,0 +1,3 @@
+{
+ "name": "o2-field"
+}
diff --git a/packages/field/src/field.vue b/packages/field/src/field.vue
new file mode 100644
index 000000000..5c85aebfd
--- /dev/null
+++ b/packages/field/src/field.vue
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/src/index.js b/src/index.js
index 34cf81788..875fce4c5 100644
--- a/src/index.js
+++ b/src/index.js
@@ -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
};