0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-24 22:46:02 -05:00
astro/docs
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
..
public scale back the examples page 2021-09-06 01:21:55 -07:00
reference Expose slots to components (#1368) 2021-09-15 11:27:59 -04:00
src 📘 DOC: show how to pass props (#1381) 2021-09-23 20:23:35 -05:00
.prettierignore merge in docs site (#705) 2021-07-15 14:13:35 -04:00
.prettierrc [ci] yarn format 2021-07-20 04:07:49 +00:00
astro.config.mjs [ci] yarn format 2021-07-31 05:41:22 +00:00
CHANGELOG.md Version Packages (#1358) 2021-09-14 17:22:50 -07:00
package.json Version Packages (#1358) 2021-09-14 17:22:50 -07:00
README.md add dev script, switch documentation from advising start to dev script (#1141) 2021-08-18 22:07:08 -07:00
snowpack.config.mjs [ci] yarn format 2021-07-20 04:07:49 +00:00
vercel.json Docs site cleanup (#948) 2021-07-30 22:39:15 -07:00

Astro Docs Astro logo

Contributing

Pull Requests

Every pull request needs to be reviewed by another contributor to the documentation to help with the overall quality of the documentation.

Running this project

  • Clone/Fork the project
  • This project uses yarn to manage dependencies. Make sure that you have yarn v1 installed.
  • Run yarn install to install latest dependencies.
  • Run yarn dev to start the dev server.
  • Run yarn build to build the final site for production.

The environment variable SNOWPACK_PUBLIC_GITHUB_TOKEN must be set to a personal access token with public_repo permissions to prevent rate-limiting.