Package Exports
- color-picker-v
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (color-picker-v) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vue-color-picker
基于vue颜色选择器
Installation
yarn add color-picker-v
or
npm install color-picker-v
Usage
<template>
<ColorPicker v-model="color"/>
</template>
<script>
export default {
data () {
return {
color:'#38acfa'
}
}
}
</script>
Using css via import:
import 'color-picker-v/dist/vColorPicker.css';