feat: new public website
This commit is contained in:
@@ -13,7 +13,7 @@ import WebSdkConfig from '@/components/web-sdk-config.mdx';
|
||||
<Steps>
|
||||
### Step 1: Install
|
||||
|
||||
```bash
|
||||
```npm
|
||||
npm install @openpanel/sdk
|
||||
```
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ The OpenPanel Kotlin SDK allows you to track user behavior in your Kotlin applic
|
||||
## Installation
|
||||
|
||||
<Callout type="warn">
|
||||
This package is not yet published. So you cannot install it with `gradle` yet.
|
||||
This package is not yet published. So you cannot install it with `` yet.
|
||||
</Callout>
|
||||
|
||||
<Steps>
|
||||
@@ -20,7 +20,7 @@ This package is not yet published. So you cannot install it with `gradle` yet.
|
||||
|
||||
Add the OpenPanel SDK to your project's dependencies:
|
||||
|
||||
```gradle
|
||||
```
|
||||
dependencies {
|
||||
implementation 'dev.openpanel:openpanel:0.0.1'
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ import CommonSdkConfig from '@/components/common-sdk-config.mdx';
|
||||
|
||||
We're dependent on `expo-application` for `buildNumber`, `versionNumber` (and `referrer` on android) and `expo-constants` to get the `user-agent`.
|
||||
|
||||
```bash
|
||||
```npm
|
||||
npm install @openpanel/react-native
|
||||
npx expo install expo-application expo-constants
|
||||
```
|
||||
|
||||
@@ -133,7 +133,7 @@ window.op('init', {
|
||||
<Steps>
|
||||
#### Step 1: Install the SDK
|
||||
|
||||
```bash
|
||||
```npm
|
||||
npm install @openpanel/web
|
||||
```
|
||||
|
||||
@@ -186,7 +186,7 @@ declare global {
|
||||
<Steps>
|
||||
##### Step 1: Install the SDK
|
||||
|
||||
```bash
|
||||
```npm
|
||||
npm install @openpanel/web
|
||||
```
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ import WebSdkConfig from '@/components/web-sdk-config.mdx';
|
||||
<Steps>
|
||||
### Step 1: Install
|
||||
|
||||
```bash
|
||||
```npm
|
||||
npm install @openpanel/web
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user