mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-05 21:04:43 +08:00
📝 Update installation commands to remove unnecessary peer dep install
This commit is contained in:
parent
569b19c3e1
commit
84edf64cee
@ -3,7 +3,7 @@ import { CodeEditor } from "@/components/inputs/CodeEditor";
|
||||
export const InstallNextjsPackageSnippet = () => {
|
||||
return (
|
||||
<CodeEditor
|
||||
value={`npm install @typebot.io/js @typebot.io/nextjs`}
|
||||
value={`npm install @typebot.io/nextjs`}
|
||||
isReadOnly
|
||||
lang="shell"
|
||||
/>
|
||||
|
||||
@ -3,7 +3,7 @@ import { CodeEditor } from "@/components/inputs/CodeEditor";
|
||||
export const InstallReactPackageSnippet = () => {
|
||||
return (
|
||||
<CodeEditor
|
||||
value={`npm install @typebot.io/js @typebot.io/react`}
|
||||
value={`npm install @typebot.io/react`}
|
||||
isReadOnly
|
||||
lang="shell"
|
||||
/>
|
||||
|
||||
@ -7,7 +7,7 @@ This lib is a convenient wrapper around the [Typebot React](./react) library. It
|
||||
## Install
|
||||
|
||||
```bash
|
||||
npm install @typebot.io/js @typebot.io/nextjs
|
||||
npm install @typebot.io/nextjs
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
@ -5,7 +5,7 @@ title: React
|
||||
## Install
|
||||
|
||||
```bash
|
||||
npm install @typebot.io/js @typebot.io/react
|
||||
npm install @typebot.io/react
|
||||
```
|
||||
|
||||
## Standard
|
||||
|
||||
@ -120,7 +120,7 @@ Typebot is an open-source platform that makes it easy to create chatbots for Rea
|
||||
4. In your React project, install **Typebot libraries**:
|
||||
|
||||
```bash
|
||||
npm install @typebot.io/js @typebot.io/react
|
||||
npm install @typebot.io/react
|
||||
```
|
||||
|
||||
5. Create a new component in your React app:
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
## Install
|
||||
|
||||
```bash
|
||||
npm install @typebot.io/js @typebot.io/nextjs
|
||||
npm install @typebot.io/nextjs
|
||||
```
|
||||
|
||||
## Standard
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
## Install
|
||||
|
||||
```bash
|
||||
npm install @typebot.io/js @typebot.io/react
|
||||
npm install @typebot.io/react
|
||||
```
|
||||
|
||||
## Standard
|
||||
|
||||
Loading…
Reference in New Issue
Block a user