next.js/test/integration/fallback-false-rewrite/pages/another.js
another.js17 lines275 B
import { useRouter } from 'next/router'

export const getServerSideProps = () => {
  return {
    props: {},
  }
}

export default function Page() {
  return (
    <>
      <p id="another">another</p>
      <p id="query">{JSON.stringify(useRouter().query)}</p>
    </>
  )
}
Quest for Codev2.0.0
/
SIGN IN