init ColorPicker

This commit is contained in:
梁灏 2017-08-15 16:39:07 +08:00
parent ad22557812
commit c6faec44a8
8 changed files with 40 additions and 1 deletions

View file

@ -55,6 +55,7 @@ li + li { border-left: solid 1px #bbb; padding-left: 10px; margin-left: 10px; }
<li><router-link to="/message">Message</router-link></li>
<li><router-link to="/notice">Notice</router-link></li>
<li><router-link to="/avatar">Avatar</router-link></li>
<li><router-link to="/color-picker">ColorPicker</router-link></li>
</ul>
</nav>
<router-view></router-view>

View file

@ -184,6 +184,10 @@ const router = new VueRouter({
{
path: '/avatar',
component: require('./routers/avatar.vue')
},
{
path: '/color-picker',
component: require('./routers/color-picker.vue')
}
]
});

View file

@ -0,0 +1,13 @@
<template>
</template>
<script>
export default {
props: {},
data () {
return {};
},
computed: {},
methods: {}
};
</script>

View file

@ -0,0 +1,13 @@
<template>
</template>
<script>
export default {
props: {},
data () {
return {};
},
computed: {},
methods: {}
};
</script>

View file

View file

@ -0,0 +1,2 @@
import ColorPicker from './color-picker.vue';
export default ColorPicker;

View file

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

View file

@ -40,3 +40,4 @@
@import "upload";
@import "tree";
@import "avatar";
@import "color-picker";