astro/examples
Ben Holmes ab232dd10f
Example blog rework (#3896)
* refactor: restructure components, kill dead code

* nit: tweak base styles

* nit: remove unneeded code comments

* refactor: replace unused permalink with canonicalURL

* refactor: add missing prop types

* feat: make markdown examples more interesting

* chore: consistent semis and quotes

* chore: astro check failures

* fix: bad url prop

* fix: bad frontmatter quote

* chore: more dead styles

* chore: add header gap

* refactor: use tsx for likebutton

* fix: restore post sorting

* chore: remove unused flex-row util

* fix: small md formatting on README

* chore: run through astro-plugin-prettier

* fix: revert to double quotes

* fix: manually move style outside <body>

* fix: update file tree in README

* refactor: publish-date -> time

* refactor: remove unused div and margin

* refactor: publishDate -> time on layout

* refactor: .heroImage -> img

* refactor: .logo -> svg

* feat: update social image, remove jpg

* fix: remove prism stylesheet!
2022-07-12 12:17:36 -04:00
..
basics [ci] release (#3899) 2022-07-12 11:16:15 -04:00
blog Example blog rework (#3896) 2022-07-12 12:17:36 -04:00
blog-multiple-authors [ci] release (#3899) 2022-07-12 11:16:15 -04:00
component [ci] release (#3899) 2022-07-12 11:16:15 -04:00
docs [ci] release (#3899) 2022-07-12 11:16:15 -04:00
env-vars [ci] release (#3899) 2022-07-12 11:16:15 -04:00
framework-alpine [ci] release (#3899) 2022-07-12 11:16:15 -04:00
framework-lit [ci] release (#3899) 2022-07-12 11:16:15 -04:00
framework-multiple [ci] release (#3899) 2022-07-12 11:16:15 -04:00
framework-preact [ci] release (#3899) 2022-07-12 11:16:15 -04:00
framework-react [ci] release (#3899) 2022-07-12 11:16:15 -04:00
framework-solid [ci] release (#3899) 2022-07-12 11:16:15 -04:00
framework-svelte [ci] release (#3899) 2022-07-12 11:16:15 -04:00
framework-vue [ci] release (#3899) 2022-07-12 11:16:15 -04:00
integrations-playground [ci] release (#3899) 2022-07-12 11:16:15 -04:00
minimal [ci] release (#3899) 2022-07-12 11:16:15 -04:00
non-html-pages [ci] release (#3899) 2022-07-12 11:16:15 -04:00
portfolio [ci] release (#3899) 2022-07-12 11:16:15 -04:00
ssr [ci] release (#3899) 2022-07-12 11:16:15 -04:00
starter [ci] release (#3899) 2022-07-12 11:16:15 -04:00
subpath [ci] release (#3899) 2022-07-12 11:16:15 -04:00
with-markdown [ci] release (#3899) 2022-07-12 11:16:15 -04:00
with-markdown-plugins [ci] release (#3899) 2022-07-12 11:16:15 -04:00
with-markdown-shiki [ci] release (#3899) 2022-07-12 11:16:15 -04:00
with-mdx [ci] release (#3899) 2022-07-12 11:16:15 -04:00
with-nanostores [ci] release (#3899) 2022-07-12 11:16:15 -04:00
with-tailwindcss [ci] release (#3899) 2022-07-12 11:16:15 -04:00
with-vite-plugin-pwa [ci] release (#3899) 2022-07-12 11:16:15 -04: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