mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
## Description [create-playwright](https://github.com/microsoft/create-playwright) makes the below special `.gitignore` file. ```txt node_modules/ /test-results/ /playwright-report/ /blob-report/ /playwright/.cache/ ``` It's good to add these files to .gitignore for convinience. ### Adding or Updating Examples - [x] The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - [x] Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md Co-authored-by: JJ Kasper <[email protected]>
Next.js + Playwright
This example shows how to configure Playwright to work with Next.js.
Deploy your own
Deploy the example using Vercel or preview live with StackBlitz
How to use
Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-playwright with-playwright-app
yarn create next-app --example with-playwright with-playwright-app
pnpm create next-app --example with-playwright with-playwright-app
Deploy it to the cloud with Vercel (Documentation).