diff --git a/packages/docs/docs/integrate-sdk/_category_.json b/packages/docs/docs/integrate-sdk/_category_.json new file mode 100644 index 000000000..46fd234f8 --- /dev/null +++ b/packages/docs/docs/integrate-sdk/_category_.json @@ -0,0 +1,3 @@ +{ + "label": "Integrate SDK" +} diff --git a/packages/docs/docs/integrate-sdk/react/_category_.json b/packages/docs/docs/integrate-sdk/react/_category_.json new file mode 100644 index 000000000..fd5e42821 --- /dev/null +++ b/packages/docs/docs/integrate-sdk/react/_category_.json @@ -0,0 +1,3 @@ +{ + "label": "React" +} diff --git a/packages/docs/docs/integrate-sdk/react/_step-1.mdx b/packages/docs/docs/integrate-sdk/react/_step-1.mdx new file mode 100644 index 000000000..c41ad2ccc --- /dev/null +++ b/packages/docs/docs/integrate-sdk/react/_step-1.mdx @@ -0,0 +1,43 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +## Install SDK + +_Option 1: Install your SDK dependency_ + + + + +```bash +npm i @logto/react +``` + + + + +```bash +yarn add @logto/react +``` + + + + +```bash +pnpm add @logto/react +``` + + + + +_Option 2: Add script tag to your HTML_ + +```html +