docs(intro-js): add pnpm reference (#16948)
This commit is contained in:
parent
6533eb2e5b
commit
e6a28eb55c
|
|
@ -21,7 +21,8 @@ Get started by installing Playwright using npm or yarn. Alternatively you can al
|
|||
defaultValue="npm"
|
||||
values={[
|
||||
{label: 'npm', value: 'npm'},
|
||||
{label: 'yarn', value: 'yarn'}
|
||||
{label: 'yarn', value: 'yarn'},
|
||||
{label: 'pnpm', value: 'pnpm'}
|
||||
]
|
||||
}>
|
||||
<TabItem value="npm">
|
||||
|
|
@ -38,6 +39,14 @@ npm init playwright@latest
|
|||
yarn create playwright
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="pnpm">
|
||||
|
||||
```bash
|
||||
pnpm dlx create-playwright
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue