diff --git a/src/utils/installable.ts b/src/utils/installable.ts deleted file mode 100644 index f5810a7e0..000000000 --- a/src/utils/installable.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { App } from 'vue'; -import { camelize } from './format/string'; - -export function installable(options: T) { - return { - ...options, - install(app: App) { - const { name } = options as any; - app.component(name, options); - app.component(camelize(`-${name}`), options); - }, - }; -}