UNPKG

@devkitvue/admin

Version:

Devkit Base Components is a Vue plugin offering a collection of reusable, headless components designed to streamline your Vue.js development workflow. Built for flexibility and maintainability, this library gives you complete control over styling and beha

18 lines (17 loc) 697 B
import { ApiEndpoint } from '@devkitvue/apiclient'; import { FilesHandler, AuthHandler, IconFindRequest, IconFindResponse } from '@devkitvue/config'; import { Plugin } from 'vue'; export * from './types'; export * from './components/index'; export type DevkitAdminConfig<TApi extends Record<string, Function>> = { apiClient: TApi; baseImageUrl?: string; fallbackImageUrl?: string; fallbackImageSvg?: string; locales: string[]; iconFindApi?: ApiEndpoint<TApi, IconFindRequest, IconFindResponse>; filesHandler?: FilesHandler<TApi>; authHandler?: AuthHandler<TApi>; }; declare const DevkitAdminPlugin: Plugin<DevkitAdminConfig<any>>; export default DevkitAdminPlugin;