import type { Component, Plugin } from 'vue' import * as exports from './src/index' export const DaisyUIKit: Plugin = { install(app) { for (const [name, value] of Object.entries(exports)) { if (typeof value === 'object' && value !== null && (value as Component).__name) { app.component(name, value as Component) } } }, } export default DaisyUIKit