mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
36223f663e
* feat: add astro/compat entrypoint for vitest * chore: add with-vitest example * chore: add vitest as optional peer dependency * chore: update lockfile * refactor: remove astro/compat, use astro/config * feat: allow arbitrary modes for `create-vite` * feat: pass vite mode and command when using `getViteConfig` * chore: remove vitest from peer deps * chore: add changeset * chore: update lockfile Co-authored-by: Nate Moore <nate@astro.build>
9 lines
338 B
Markdown
9 lines
338 B
Markdown
# Astro + [Vitest](https://vitest.dev/) Example
|
|
|
|
```
|
|
npm init astro -- --template with-vitest
|
|
```
|
|
|
|
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/with-vitest)
|
|
|
|
This example showcases Astro working with [Vitest](https://vitest.dev/).
|