Skip to content

Commit

Permalink
docs(vitest): add Vite 4 disclaimer for latest alpha release
Browse files Browse the repository at this point in the history
  • Loading branch information
IlCallo committed Dec 28, 2023
1 parent 6327d32 commit cc3b437
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/unit-vitest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
$ quasar ext add @quasar/testing-unit-vitest
```

> Since Vitest 0.34 onwards relies on Vite 4 types, while `@quasar/app-vite` v1 still relies on Vite 2, you'll need to set your `resolutions` (if using Yarn) or `overrides` (if using NPM or PNPM) fields like the following to avoid type mismatch errors:
>
> ```json
> "resolutions": {
> "@vitejs/plugin-vue": "^4.0.0",
> "vite": "^4.0.0"
> },
> ```
> This package is in **alpha** phase. The public API may still change as we collect community feedback.
This App Extension (AE) manages Quasar and Vitest integration for you, both for JavaScript and TypeScript.
Expand Down

0 comments on commit cc3b437

Please sign in to comment.