A Complete Vue.js Color Picker Component
First step is to install it using yarn
or npm
:
npm install verte --save
# or use yarn
yarn add verte
<template>
<verte :picker="wheel" :model="rgb"></verte>
</template>
<script>
import Verte from './dist/verte.js';
// register component globally
Vue.component(Verte.name, Verte);
new Vue ({
el: '#app',
// OR register locally
components: { Verte }
});
</script>
MIT