vue2-color-picker

0.0.3 • Public • Published

Vue2ColorPicker

Vue2ColorPicker Component for Vue 2.x

Install

    npm install vue2-color-picker --save

Demo

For demo, please see here

Usage

1. Import the component

import Vue2ColorPicker from 'vue2-color-picker';

2.1 Use it globally

Vue.use(Vue2ColorPicker);

2.2 Or use it locally

components: {
    'vue2-color-picker': Vue2ColorPicker
},

3. Update your app or template:

<div>
...
<vue2-color-picker v-model="color"></vue2-color-picker>
...
</div>

Properties

There are no properties.

Example

Please see App.vue for example use.

Contributing

Contributions are welcome

Build Setup

# install dependencies
npm install
 
# serve with hot reload at localhost:8080
npm run dev
 
# build for production with minification
npm run build

Package Sidebar

Install

npm i vue2-color-picker

Weekly Downloads

16

Version

0.0.3

License

MIT

Unpacked Size

37.1 kB

Total Files

7

Last publish

Collaborators

  • san-kumar