astro/examples
Ben Holmes 5d960fc40e
[Content Collections] Allow Zod unions, objects, and transforms as schemas (#5770)
* feat: require `schema: z.object({...})`

* fix: update zod object type check

* fix: update types template

* chore: update with-content config

* chore: update test fixture configs

* test: zod union type

* refactor: enumerate valid schema types
2023-01-10 08:46:43 -05:00
..
basics [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
blog [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
component [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
deno [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
docs [ci] format 2023-01-09 07:27:31 +00:00
framework-alpine [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
framework-lit [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
framework-multiple [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
framework-preact [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
framework-react [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
framework-solid [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
framework-svelte [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
framework-vue [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
hackernews [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
integration [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
minimal [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
non-html-pages [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
portfolio [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
ssr [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
with-content [Content Collections] Allow Zod unions, objects, and transforms as schemas (#5770) 2023-01-10 08:46:43 -05:00
with-markdown-plugins [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
with-markdown-shiki [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
with-mdx [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
with-nanostores [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
with-tailwindcss [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
with-vite-plugin-pwa [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
with-vitest [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
README.md .md only: npm init astro --> npm create astro (#4760) 2022-09-16 12:40:06 -05:00

Astro Examples Library

The easiest way to check out one of these examples on your machine is by running this command in an empty directory:

npm create astro@latest -- --template [EXAMPLE_NAME]

Community Examples

Visit awesome-astro for a full list of community examples. You can use npm create astro@latest to check out any community examples:

npm create astro@latest -- --template [GITHUB_USER]/[REPO_NAME]

Paths to examples nested inside of a repo are also supported:

npm create astro@latest -- --template [GITHUB_USER]/[REPO_NAME]/path/to/example