... map((post) => ( <li>{post.title}</li> ))} </ul> ) } // This function gets ... json() // By returning { props: { posts } }, the Blog component // will receive ...
確定! 回上一頁