Skip to content

Commit

Permalink
Fix the installation command in docs (#1138)
Browse files Browse the repository at this point in the history
  • Loading branch information
officialrajdeepsingh authored May 22, 2024
1 parent e07adc0 commit 07089f6
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions website/docs/src/pages/getting-started/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,25 @@ import { CodeBlock } from "../../components/CodeBlock";
Install the Sandpack dependency on your project.

<Tabs items={["npm", "yarn", "pnpm"]}>

<Tab>
```shell
```bash
npm i @codesandbox/sandpack-react
```
</Tab>

{" "}

<Tab>```bash yarn add @codesandbox/sandpack-react ```</Tab>
<Tab>
```bash
yarn add @codesandbox/sandpack-react
```
</Tab>

<Tab>
```bash
pnpm i @codesandbox/sandpack-react
pnpm add @codesandbox/sandpack-react
```
</Tab>

</Tabs>

All the components and the bundler are packed inside the `Sandpack` component, which is a named export of the package. Besides that, the package contains multiple **components**, **utilities** and **typings**.
Expand Down

0 comments on commit 07089f6

Please sign in to comment.