0.1.1 • Published 3 years ago
@tb-app/register-apis v0.1.1
@tb-app/register-apis
简介
在小程序端,注册所有小程序 API(事件监听类 api 除外), 供 web-view 端调用。
安装
yarn add @tb-app/register-apis
// 或
npm i @tb-app/register-apis
使用
// app.js
import registryAPIs from '@tb-app/register-apis';
registryAPIs();
// 下面是其他代码