0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/console/public/get-started/react/en/step1.md

584 B

title subtitle
Install Logto SDK 1 step

Option 1: Install your SDK dependency

Run the CLI command under your project's root directory.

// installation with npm
npm install @logto/react --save

// installation with yarn
yarn add @logto/react

// installation with pnpm
pnpm install @logto/react --save

Option 2: Add script tag to your HTML

<script src="https://logto.io/js/logto-sdk-react/0.1.0/logto-sdk-react.production.js"></script>

Option 3: Fork your own from github

git clone https://github.com/logto-io/js.git
pnpm build