Skip to content

Commit 261b7d4

Browse files
committed
feat(runtime-vapor): add defineComponent
1 parent a972894 commit 261b7d4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// TODO
2+
/*! #__NO_SIDE_EFFECTS__ */
3+
export function defineComponent(comp: any) {
4+
return comp
5+
}

packages/runtime-vapor/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export * from './dom'
5050
export * from './apiLifecycle'
5151
export * from './if'
5252
export * from './for'
53+
export { defineComponent } from './apiDefineComponent'
5354

5455
export * from './directives/vShow'
5556
export * from './directives/vModel'

0 commit comments

Comments
 (0)