如何使用getInitialProps將數據饋送到Next.js組件. 當我談論向Next.js添加動態 ... import { useRouter } from 'next/router' import posts from '../../posts.json'.
確定! 回上一頁