The web framework that scales with you — Build fast content sites, powerful web applications, dynamic server APIs, and everything in-between ️ Star to support our work!
Find a file
Knniff 0012a01541
📘 DOC: show how to pass props (#1381)
* show how to pass props

In the current documentation it is only shown how to receive props but not how to pass a component said props.

This adds a bit of code which shows how to pass props to a component.

* Update docs/src/pages/core-concepts/astro-components.md

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2021-09-23 20:23:35 -05:00
.changeset Version Packages (#1377) 2021-09-15 12:36:26 -04:00
.github Update issue.yml 2021-09-17 22:51:54 -07:00
.vscode Fix GoToDefinition for component imports (and component usage) (#1045) 2021-08-09 12:03:32 -04:00
assets fix: brand color 2021-05-16 10:06:12 -05:00
docs 📘 DOC: show how to pass props (#1381) 2021-09-23 20:23:35 -05:00
examples Update gradient background sizing. (#1417) 2021-09-23 20:02:44 -05:00
packages Add sponsorship logos (#1371) 2021-09-16 22:24:27 -06:00
scripts [ci] collect stats 2021-09-23 12:05:28 +00:00
tools/vscode/syntaxes Remove VSCode and Langauge Server from this monorepo (#1230) 2021-08-26 13:14:47 -04:00
www Remove target=_blank from homepage nav links (#1403) 2021-09-20 23:02:30 -07:00
.editorconfig Adds .editorconfig file (#162) 2021-05-03 12:41:39 -05:00
.eslintignore Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
.eslintrc.cjs remove ignored lint rule 2021-08-23 22:18:27 -07:00
.gitignore Docs/fix sitesidebar template (#778) 2021-07-20 15:56:45 -05:00
.gitpod.yml Gitpod: Add astro vscode exts. Enable prebuild environments (#1394) 2021-09-20 14:00:25 -07:00
.nvmrc set node version in nvmrc & engines to lts (#87) 2021-04-13 13:03:26 -04:00
.prettierignore Skip running format in .github/.changeset folder (#860) 2021-07-26 12:04:12 -04:00
.prettierrc.json Annoying Lint PR™ (#3) 2021-03-16 12:37:45 -06:00
CODE_OF_CONDUCT.md [ci] yarn format 2021-06-24 00:27:22 +00:00
CONTRIBUTING.md Update Governance + Contributor Model (#1120) 2021-08-18 17:07:50 -07:00
FUNDING.md [ci] yarn format 2021-08-18 05:40:42 +00:00
FUNDING.yml Create FUNDING.md (#1137) 2021-08-17 22:39:20 -07:00
GOVERNANCE.md [ci] yarn format 2021-08-19 00:09:06 +00:00
lerna.json Format (#167) 2021-05-03 12:26:10 -06:00
LICENSE redesign create-astro (#301) 2021-06-08 11:10:56 -04:00
package.json [ci] collect stats 2021-09-10 12:04:54 +00:00
README.md Add README to packages/astro (#313) 2021-06-07 17:38:22 -05:00
tsconfig.base.json Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
yarn.lock fix bad benchmark (#1383) 2021-09-16 13:06:43 -07:00

Astro is a fresh but familiar approach to building websites. Astro combines decades of proven performance best practices with the DX improvements of the component-oriented era. Use your favorite JavaScript framework and automatically ship the bare-minimum amount of JavaScript—by default.

Announcement Post →

Full Documentation Site →

Project Status

⚠️ Astro is still an early beta, missing features and bugs are to be expected! If you can stomach it, then Astro-built sites are production ready and several production websites built with Astro already exist in the wild. We will update this note once we get closer to a stable, v1.0 release.

Quick Start

# get started with astro in 3 easy steps:
mkdir new-project-directory
cd new-project-directory
npm init astro

Full Documentation Site →

Sponsors

You can sponsor Astro's development on Open Collective. Astro is generously supported by the following companies and individuals:

Platinum Sponsors

Netlify

Sponsors

Sentry