0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-17 22:44:24 -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
public
src
test feat(container): provide a virtual module to load renderers (#11144) 2024-06-05 11:39:42 +01:00
.gitignore
astro.config.ts
package.json feat(container): provide a virtual module to load renderers (#11144) 2024-06-05 11:39:42 +01:00
README.md
tsconfig.json
vitest.config.ts

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.