next.js/test/integration/rewrites-has-condition/pages/index.js
index.js19 lines383 B
import Link from 'next/link'

export default function Page(props) {
  return (
    <>
      <p id="index">index page</p>
      <Link href="/rewrite-simple" id="to-simple">
        to /rewrite-simple
      </Link>
      <br />

      <Link href="/rewrite-with-has?hasQuery=true" id="to-has-rewrite">
        to /rewrite-with-has?hasQuery=true
      </Link>
      <br />
    </>
  )
}
Quest for Codev2.0.0
/
SIGN IN