0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/examples/container-with-vitest
Emanuele Stoppa 803dd8061d
feat(container): provide a virtual module to load renderers (#11144)
* feat(container): provide a virtual module to load renderers

* address feedback

* chore: restore some default to allow to have PHP prototype working

* Thread through renderers and manifest

* Pass manifest too

* update changeset

* add diff

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* fix diff

* rebase and update lock

---------

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-05 11:39:42 +01:00
..
.codesandbox feat: container APIs (#11051) 2024-05-22 12:11:26 +01:00
public feat: container APIs (#11051) 2024-05-22 12:11:26 +01:00
src [ci] format 2024-05-22 11:12:30 +00:00
test feat(container): provide a virtual module to load renderers (#11144) 2024-06-05 11:39:42 +01:00
.gitignore feat: container APIs (#11051) 2024-05-22 12:11:26 +01:00
astro.config.ts feat: container APIs (#11051) 2024-05-22 12:11:26 +01:00
package.json feat(container): provide a virtual module to load renderers (#11144) 2024-06-05 11:39:42 +01:00
README.md feat: container APIs (#11051) 2024-05-22 12:11:26 +01:00
tsconfig.json feat: container APIs (#11051) 2024-05-22 12:11:26 +01:00
vitest.config.ts feat: container APIs (#11051) 2024-05-22 12:11:26 +01:00

Astro + Vitest + Container API Example

npm create astro@latest -- --template container-with-vitest

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

This example showcases Astro working with Vitest and how to test components using the Container API.