@cloudbase/adapter-vv_game

    0.2.0 • Public • Published

    @cloudbase/adapter-vv_game

    NPM Version

    tcb-js-sdk Vivo小游戏适配器

    安装

    npm i @cloudbase/adapter-vv_game -S

    使用

    ES Module

    import tcb from 'tsb-js-sdk';
    import adapter from '@cloudbase/adapter-vv_game';
     
    // 以下两种方式二选一
    // 1.单参数传入
    tcb.useAdapters(adapter);
    // 2.数组形式传参
    tcb.useAdapters([adapter]);
    // adapter必须在init之前传入
    tcb.init();

    CommonJS

    const tcb = require('tsb-js-sdk');
    const {adapter} = require('@cloudbase/adapter-vv_game');
     
    // 以下两种方式二选一
    // 1.单参数传入
    tcb.useAdapters(adapter);
    // 2.数组形式传参
    tcb.useAdapters([adapter]);
    // adapter必须在init之前传入
    tcb.init();

    Keywords

    none

    Install

    npm i @cloudbase/adapter-vv_game

    DownloadsWeekly Downloads

    2

    Version

    0.2.0

    License

    ISC

    Unpacked Size

    25.9 kB

    Total Files

    10

    Last publish

    Collaborators

    • huang825172
    • greengrey
    • bobbyzhao
    • fengkx
    • starkwang
    • jimmyzhang
    • ianhu92
    • lukejyhuang
    • wuyiqing
    • yhyang
    • ihardcoder
    • withnate
    • godbmw
    • binggg
    • zijiezhou
    • evecalm
    • bennettli