mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 14:45:15 +00:00
docs: add info about dependencies to install
This commit is contained in:
parent
8e635fd233
commit
a258bfc347
@ -508,7 +508,22 @@ const page = await createPage('/page')
|
|||||||
|
|
||||||
#### Testing with Playwright Test Runner
|
#### Testing with Playwright Test Runner
|
||||||
|
|
||||||
We also provide first-class support for using `@nuxt/test-utils` within [the Playwright test runner](https://playwright.dev/docs/intro).
|
We also provide first-class support for testing Nuxt within [the Playwright test runner](https://playwright.dev/docs/intro).
|
||||||
|
|
||||||
|
::code-group
|
||||||
|
```bash [yarn]
|
||||||
|
yarn add --dev @playwright/test @nuxt/test-utils
|
||||||
|
```
|
||||||
|
```bash [npm]
|
||||||
|
npm i --save-dev @playwright/test @nuxt/test-utils
|
||||||
|
```
|
||||||
|
```bash [pnpm]
|
||||||
|
pnpm add -D @playwright/test @nuxt/test-utils
|
||||||
|
```
|
||||||
|
```bash [bun]
|
||||||
|
bun add --dev @playwright/test @nuxt/test-utils
|
||||||
|
```
|
||||||
|
::
|
||||||
|
|
||||||
You can provide global Nuxt configuration, with the same configuration details as the `setup()` function mentioned earlier in this section.
|
You can provide global Nuxt configuration, with the same configuration details as the `setup()` function mentioned earlier in this section.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user