552620f9b8
- Update `with-cypress` example dependencies; - Convert `with-cypress` example to TypeScript as suggested in the Contribution docs. ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm lint` - [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples) |
||
---|---|---|
.. | ||
cypress | ||
pages | ||
public | ||
styles | ||
.gitignore | ||
cypress.config.ts | ||
next-env.d.ts | ||
package.json | ||
README.md | ||
tsconfig.json |
Next.js + Cypress
This example shows how to configure Cypress 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-cypress with-cypress-app
# or
yarn create next-app --example with-cypress with-cypress-app
# or
pnpm create next-app --example with-cypress with-cypress-app
Deploy it to the cloud with Vercel (Documentation).