Package Exports
- vue-gradient-component
- vue-gradient-component/dist/vue-gradient-component.umd.min.js
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 (vue-gradient-component) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vue-gradient-component
Library setup
npm i vue-gradient-component
Import in main
import ColorPicker from 'vue-gradient-component';
const app = createApp(App);
app.use(ColorPicker);
Using in components
<template>
<div>
<img
alt="Vue logo"
src="./assets/logo.png"
/>
<color-picker></color-picker>
</div>
</template>
Properties
Name | Value type | Descriprion | Default |
---|