0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Update api-reference.md

This commit is contained in:
Fred K. Schott 2021-08-18 09:33:18 -07:00 committed by GitHub
parent 986bed8ca4
commit 72853afffa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,7 @@ This function is required because Astro is a static site builder. That means tha
--- ---
export async function getStaticPaths() { export async function getStaticPaths() {
return [ return [
{ params: { ... } }, { params: { /* required */ }, props: { /* optional */ },
{ params: { ... } }, { params: { ... } },
{ params: { ... } }, { params: { ... } },
// ... // ...