@acceleratxr/core_sdk-studio 中文文档教程
clientsdknodejs
用于使用 AcceleratXR 支持的服务的客户端 SDK。
Yarn
yarn add @acceleratxr/client_sdk
NPM
npm i @acceleratxr/client_sdk
Usage
JavaScript
const { Configuration, ClientSDK } = require("@acceleratxr/client_sdk");
var config = new Configuration({
baseUrl: "http://localhost:3000",
});
ClientSDK.init(config);
TypeScript
import { Configuration, ClientSDK } from "@acceleratxr/client_sdk";
var config: Configuration = new Configuration({
baseUrl: "http://localhost:3000",
});
ClientSDK.init(config);
clientsdknodejs
Client SDK for working with AcceleratXR powered services.
Yarn
yarn add @acceleratxr/client_sdk
NPM
npm i @acceleratxr/client_sdk
Usage
JavaScript
const { Configuration, ClientSDK } = require("@acceleratxr/client_sdk");
var config = new Configuration({
baseUrl: "http://localhost:3000",
});
ClientSDK.init(config);
TypeScript
import { Configuration, ClientSDK } from "@acceleratxr/client_sdk";
var config: Configuration = new Configuration({
baseUrl: "http://localhost:3000",
});
ClientSDK.init(config);