feat(runtime-vapor): add defineComponent

This commit is contained in:
三咲智子 Kevin Deng 2024-01-31 18:06:16 +08:00
parent a972894721
commit 261b7d40a4
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
// TODO
/*! #__NO_SIDE_EFFECTS__ */
export function defineComponent(comp: any) {
return comp
}

View File

@ -50,6 +50,7 @@ export * from './dom'
export * from './apiLifecycle'
export * from './if'
export * from './for'
export { defineComponent } from './apiDefineComponent'
export * from './directives/vShow'
export * from './directives/vModel'