Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (18 sloc) 476 Bytes

Skygear SDK for web

Installation

Skygear SDK for web is available on npm package registry:

$ npm install @skygear/web

Configuration

To connect the SDK to your app, configure the SDK at app launch:

import skygear from "@skygear/web";

async function configureSkygear() {
    // TODO: Use endpoint and API key for your app.
    await skygear.configure({
        endpoint: "<App Endpoint>",
        apiKey: "<API Key>",
    });
}
You can’t perform that action at this time.