From bf0060f3b1c02ad518306610df29c26d790a25d0 Mon Sep 17 00:00:00 2001 From: Fernando Gatti Date: Wed, 16 Oct 2024 14:28:51 -0300 Subject: [PATCH] fix: Export plugin --- src/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/index.ts b/src/index.ts index 6a88e25..02ac3b2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,12 +1,12 @@ -import { App, Plugin } from "vue"; -import * as components from "./components/timeline"; -import "./global.css"; +import { App, Plugin } from 'vue'; +import * as components from './components/timeline'; +import './global.css'; const Timeline: Plugin = { install(app: App, ...options: any[]) { Object.keys(components).forEach((key) => { const component = (components as any)[key]; - if (component && typeof component === "object") { + if (component && typeof component === 'object') { app.component(key, component); } }); @@ -15,4 +15,4 @@ const Timeline: Plugin = { export { Timeline }; -export * from "./components/timeline"; +export * from './components/timeline';