UNPKG

vuestic-ui

Version:
23 lines (22 loc) 893 B
import type { VuesticComponent, VuesticPlugin, VuesticPluginFabric } from '../types'; import type { PartialGlobalConfig } from '../../global-config/global-config'; /** * Register only essential Vuestic Plugins. * * This plugin will register globally only provided component and plugins in options. * @notice this plugin will not bundle all vuestic components and plugins * * @example * ```ts * createVuesticEssential({ * plugins: [VaToastPlugin], // or [VaToastPlugin({ makeLifeEasier: true })], * components: { VaButton, VaInput }, * config: { VaButton: { color: '#f0f' } } * }) * ``` */ export declare const createVuesticEssential: VuesticPluginFabric<[options?: { config?: PartialGlobalConfig | undefined; components?: Record<string, VuesticComponent> | undefined; plugins?: Record<string, VuesticPlugin | VuesticPluginFabric> | undefined; } | undefined]>;