Color component for Vuetify framework
# npm
npm install @nsoft/vuetify-colorizer
You need to import colorizer style in your main stylesheet file or component. Example of importing in stylus
file:
@import '@nsoft/vuetify-colorizer/dist/vuetify-colorizer.css';
import Vue from 'vue';
import { VColorPickerInput } from '@nsoft/vuetify-colorizer';
import App from './App';
Vue.config.productionTip = false;
Vue.use(VColorPickerInput);
/* eslint-disable no-new */
new Vue({
el: '#app',
template: '<App/>',
components: { App },
});
import { VColorPickerInput } from '@nsoft/vuetify-colorizer';
export default {
name: 'app',
components: {
VColorPickerInput,
},
};
<template>
<div id="app">
<VColorPickerInput/>
</div>
</template>