Skip to content

wevu / index / registerApp

函数: registerApp()

registerApp<D, C, M>(runtimeApp, methods, watch, setup, mpOptions): void

定义于: packages/wevu/src/runtime/register.ts:466

类型参数

D

D extends object

C

C extends ComputedDefinitions

M

M extends MethodDefinitions

参数

runtimeApp

RuntimeApp<D, C, M>

methods

MethodDefinitions

watch

WatchMap | undefined

setup

(ctx) => void | Record<string, any> | undefined

mpOptions

MiniProgramAppOptions

返回

void

Released under the MIT License.