Skip to content

Commit 2707d83

Browse files
committed
fix: fixed missing components import
1 parent c8f9372 commit 2707d83

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/vue/VueComponentsPlugin.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@ import type { App, Plugin } from "vue"
33
import { registerComponents } from "./registerComponents.js"
44
import { registerDirectives } from "./registerDirectives.js"
55

6-
export * as directives from "../directives/index.js"
7-
export * as components from "../components/index.js"
6+
import * as components from "../components/index.js"
7+
import * as directives from "../directives/index.js"
88

99
// eslint-disable-next-line @typescript-eslint/naming-convention
1010
export const VueComponentsPlugin: Plugin = {
1111
install(app: App) {
12-
// @ts-expect-error .
1312
registerComponents(app, components)
14-
// @ts-expect-error .
1513
registerDirectives(app, directives)
1614
},
1715
}

0 commit comments

Comments
 (0)