UNPKG

winbox-ui-next

Version:

We Design Vue 2.0: A Vue.js 3 UI Library

11 lines (10 loc) 417 B
import { setGlobalConfig, getComponentPrefix } from "../_utils/global-config.js"; import _ColorPicker from "./src/ColorPicker.js"; const ColorPicker = Object.assign(_ColorPicker, { install: (app, options) => { setGlobalConfig(app, options); const componentPrefix = getComponentPrefix(options); app.component(componentPrefix + _ColorPicker.name, _ColorPicker); } }); export { ColorPicker as default };