📜  获取服务器端道具 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:06.748000             🧑  作者: Mango

代码示例2
export async function getStaticProps(context) {
  return {
    props: {}, // will be passed to the page component as props
  }
}