docs(ct): add yarn create example (#15407)

Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Alireza Mirian 2022-07-06 10:27:49 +02:00 committed by GitHub
parent 00d5d26f3b
commit 4508cd5816
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,6 +46,12 @@ Adding Playwright Test to an existing React, Vue or Svelte project is easy. Belo
npm init playwright@latest -- --ct
```
or with Yarn:
```sh
yarn create playwright --ct
```
This step creates several files in your workspace:
#### `playwright/index.html`