Narcissistic, Perfectly Modest

    @cloudbase/adapter-wx_mp

    0.4.1 • Public • Published

    @cloudbase/adapter-wx_mp

    NPM Version

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

    安装

    npm i @cloudbase/adapter-wx_mp -S

    使用

    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();

    Keywords

    none

    Install

    npm i @cloudbase/adapter-wx_mp

    DownloadsWeekly Downloads

    8

    Version

    0.4.1

    License

    ISC

    Unpacked Size

    24 kB

    Total Files

    9

    Last publish

    Collaborators

    • daniel-dx
    • woodenstone
    • ceoyp
    • xbasesdk
    • issacliu
    • liuyanjie
    • rosefang
    • bobbyzhao
    • greengrey
    • starkwang
    • yhyang
    • godbmw
    • binggg
    • evecalm
    • fengkx