diff --git a/examples/app.vue b/examples/app.vue index a651d69..87f3d9e 100644 --- a/examples/app.vue +++ b/examples/app.vue @@ -55,6 +55,7 @@ li + li { border-left: solid 1px #bbb; padding-left: 10px; margin-left: 10px; }
  • Message
  • Notice
  • Avatar
  • +
  • ColorPicker
  • diff --git a/examples/main.js b/examples/main.js index f48654a..3d4cad4 100644 --- a/examples/main.js +++ b/examples/main.js @@ -184,6 +184,10 @@ const router = new VueRouter({ { path: '/avatar', component: require('./routers/avatar.vue') + }, + { + path: '/color-picker', + component: require('./routers/color-picker.vue') } ] }); diff --git a/examples/routers/color-picker.vue b/examples/routers/color-picker.vue new file mode 100644 index 0000000..5bc4676 --- /dev/null +++ b/examples/routers/color-picker.vue @@ -0,0 +1,13 @@ + + \ No newline at end of file diff --git a/src/components/color-picker/color-picker.vue b/src/components/color-picker/color-picker.vue new file mode 100644 index 0000000..5bc4676 --- /dev/null +++ b/src/components/color-picker/color-picker.vue @@ -0,0 +1,13 @@ + + \ No newline at end of file diff --git a/src/components/color-picker/color.js b/src/components/color-picker/color.js new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/components/color-picker/color.js diff --git a/src/components/color-picker/index.js b/src/components/color-picker/index.js new file mode 100644 index 0000000..f573739 --- /dev/null +++ b/src/components/color-picker/index.js @@ -0,0 +1,2 @@ +import ColorPicker from './color-picker.vue'; +export default ColorPicker; \ No newline at end of file diff --git a/src/styles/components/color-picker.less b/src/styles/components/color-picker.less new file mode 100644 index 0000000..72cfa9a --- /dev/null +++ b/src/styles/components/color-picker.less @@ -0,0 +1,5 @@ +@color-picker-prefix-cls: ~"@{css-prefix}color-picker"; + +.@{color-picker-prefix-cls} { + +} \ No newline at end of file diff --git a/src/styles/components/index.less b/src/styles/components/index.less index 4850ba3..b857ac0 100644 --- a/src/styles/components/index.less +++ b/src/styles/components/index.less @@ -39,4 +39,5 @@ @import "rate"; @import "upload"; @import "tree"; -@import "avatar"; \ No newline at end of file +@import "avatar"; +@import "color-picker"; \ No newline at end of file -- libgit2 0.21.4