Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.
/ vuetify-colorizer Public archive

Color component for Vuetify framework

License

Notifications You must be signed in to change notification settings

nsftx/vuetify-colorizer

Repository files navigation

npm Greenkeeper badge Build Status codebeat badge codecov

vuetify-colorizer

Color component for Vuetify framework

Installation

# npm
npm install @nsoft/vuetify-colorizer

Using

Import styles

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 script

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 component locally

import { VColorPickerInput } from '@nsoft/vuetify-colorizer';

export default {
  name: 'app',
  components: {
    VColorPickerInput,
  },
};

Use in template

<template>
  <div id="app">
    <VColorPickerInput/>
  </div>
</template>