Skip to content

Instantly share code, notes, and snippets.

@estebanmunchjones2019
Created April 1, 2021 16:00
Show Gist options
  • Save estebanmunchjones2019/2d18704544d2ab58ab27cad4cfeebb61 to your computer and use it in GitHub Desktop.
Save estebanmunchjones2019/2d18704544d2ab58ab27cad4cfeebb61 to your computer and use it in GitHub Desktop.
export async function getStaticProps(context) {
// some back end code here
return {
props: {}, // will be passed to the page component as props
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment