color-picker.vue 360 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 <template> <div style="margin: 100px;"> {{ color1 }} <ColorPicker v-model="color1" /> <ColorPicker v-model="color2" :editable="false"/> </div> </template> <script> export default { data () { return { color1: '#19be6b', color2: '' }; } }; </script>