astro/examples
Matthew Phillips bcc617f9dc
Update examples to move away from Astro.resolve on styles (#2393)
* Update examples to move away from Astro.resolve on styles

* Prepend the subpath

* Adds a changeset

* Switch to @import for the starter
2022-01-18 08:34:12 -05:00
..
blog [ci] release (#2394) 2022-01-14 16:19:25 -05:00
blog-multiple-authors Update examples to move away from Astro.resolve on styles (#2393) 2022-01-18 08:34:12 -05:00
component [ci] release (#2394) 2022-01-14 16:19:25 -05:00
docs Update examples to move away from Astro.resolve on styles (#2393) 2022-01-18 08:34:12 -05:00
fast-build [ci] release (#2394) 2022-01-14 16:19:25 -05:00
framework-alpine [ci] release (#2394) 2022-01-14 16:19:25 -05:00
framework-lit [ci] release (#2394) 2022-01-14 16:19:25 -05:00
framework-multiple Update examples to move away from Astro.resolve on styles (#2393) 2022-01-18 08:34:12 -05:00
framework-preact [ci] release (#2394) 2022-01-14 16:19:25 -05:00
framework-react [ci] release (#2394) 2022-01-14 16:19:25 -05:00
framework-solid [ci] release (#2394) 2022-01-14 16:19:25 -05:00
framework-svelte [ci] release (#2394) 2022-01-14 16:19:25 -05:00
framework-vue [ci] release (#2394) 2022-01-14 16:19:25 -05:00
minimal [ci] release (#2394) 2022-01-14 16:19:25 -05:00
portfolio [ci] release (#2394) 2022-01-14 16:19:25 -05:00
portfolio-svelte [ci] release (#2394) 2022-01-14 16:19:25 -05:00
starter Update examples to move away from Astro.resolve on styles (#2393) 2022-01-18 08:34:12 -05:00
subpath [ci] release (#2394) 2022-01-14 16:19:25 -05:00
with-markdown Update examples to move away from Astro.resolve on styles (#2393) 2022-01-18 08:34:12 -05:00
with-markdown-plugins Update examples to move away from Astro.resolve on styles (#2393) 2022-01-18 08:34:12 -05:00
with-nanostores Update examples to move away from Astro.resolve on styles (#2393) 2022-01-18 08:34:12 -05:00
with-tailwindcss [ci] release (#2394) 2022-01-14 16:19:25 -05:00
with-vite-plugin-pwa [ci] release (#2394) 2022-01-14 16:19:25 -05:00
README.md Docs: npm@7 requires an extra -- for arguments passed to the command, per @natemoo-re's description. (#786) 2021-07-20 20:06:11 -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 init astro -- --template [EXAMPLE_NAME]

Community Examples

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

npm init astro -- --template [GITHUB_USER]/[REPO_NAME]

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

npm init astro -- --template [GITHUB_USER]/[REPO_NAME]/path/to/example