@cloudbase/adapter-wx_mp
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

cloudbase-adapter-wx_mp

NPM Version

tcb-js-sdk适配器接口,各平台适配器按照此接口规范进行开发。

安装

npm i cloudbase-adapter-wx_mp -S

Unpkg(推荐)

可以使用unpkg托管的js文件,地址如下: https://unpkg.com/cloudbase-adapter-wx_mp/dist/index.js

使用

import tcb from 'tsb-js-sdk';
import adapterForWxMp from 'cloudbase-adapter-wx_mp';

// 以下两种方式二选一
// 1.单参数传入
tcb.useAdapters(adapterForWxMp);
// 2.数组形式传参
tcb.useAdapters([adapterForWxMp]);
// adapter必须在init之前传入
tcb.init();

Readme

Keywords

none

Package Sidebar

Install

npm i @cloudbase/adapter-wx_mp

Weekly Downloads

148

Version

1.1.0

License

ISC

Unpacked Size

91.5 kB

Total Files

10

Last publish

Collaborators

  • wangjiachen
  • bobbyzhao
  • daniel-dx
  • starkwang
  • yhyang
  • binggg
  • fengkx
  • issacliu
  • liuyanjie
  • justan
  • yuzhen
  • woodenstone
  • barretyi
  • miusuncle
  • wedabot