mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
12 lines
776 B
Markdown
12 lines
776 B
Markdown
|
# Astro + [Vitest](https://vitest.dev/) + Container API Example
|
||
|
|
||
|
```sh
|
||
|
npm create astro@latest -- --template container-with-vitest
|
||
|
```
|
||
|
|
||
|
[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/with-vitest)
|
||
|
[](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/with-vitest)
|
||
|
[](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/with-vitest/devcontainer.json)
|
||
|
|
||
|
This example showcases Astro working with [Vitest](https://vitest.dev/) and how to test components using the Container API.
|