Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added nextjs example #920

Merged
merged 4 commits into from Mar 13, 2022
Merged

Conversation

robcaldecott
Copy link
Contributor

Added a small example of using vitest with Next.js.
Nothing fancy but given the popularity of Next I thought it would be good to include it.

@netlify
Copy link

netlify bot commented Mar 10, 2022

✔️ Deploy Preview for vitest-dev ready!

🔨 Explore the source changes: dfd642a

🔍 Inspect the deploy log: https://app.netlify.com/sites/vitest-dev/deploys/622b1cb629fe4b0008e773d0

😎 Browse the preview: https://deploy-preview-920--vitest-dev.netlify.app

examples/nextjs/pages/index.tsx Outdated Show resolved Hide resolved
@antfu antfu merged commit 2e8a3b1 into vitest-dev:main Mar 13, 2022
@danielfoxp2
Copy link

danielfoxp2 commented Nov 27, 2023

It would be great to have a next.js 14 example working on windows with yarn stable (currently 4.0.2) and Typescript. This example works flawless with yarn 1.22.21, but since it is recommended to work with the newer versions of yarn, then I guess this should be considered.

Thanks for the hard work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants