import type { App } from 'vue' import button from './components/v-button.vue' export interface PluginOptions { /* components : string[] */ } export interface TresPlugin { [key: string]: any install: (app: App, options?: PluginOptions) => void } const plugin: TresPlugin = { install(app: App) { app.component('v-button', button) }, } export default plugin