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>
|
||||
|
||||
|
|
@ -92,4 +101,4 @@ npx playwright show-report
|
|||
- [Write tests using web first assertions, page fixtures and locators](./writing-tests.md)
|
||||
- [Run single tests, multiple tests, headed mode](./running-tests.md)
|
||||
- [Generate tests with Codegen](./codegen.md)
|
||||
- [See a trace of your tests](./trace-viewer-intro.md)
|
||||
- [See a trace of your tests](./trace-viewer-intro.md)
|
||||
|
|
|
|||
Loading…
Reference in a new issue