import Link from 'next/link' import { useRouter } from 'next/router' export default function Home() { const router = useRouter() return (

Home Page

to /article/foo/bar/123
A/B test homepage
Rewrite me to about
Rewrite me to beforeFiles Rewrite
Rewrite me to afterFiles Rewrite
Rewrite me to Vercel
Redirect me to Vercel (but with double reroutes)
Rewrite me without a hard navigation
Rewrite me to external site
Rewrite me to internal path
Rewrite me to static
Rewrite me to /about (SSR)
normal SSG link /dynamic-no-cache/1 ) } export function getServerSideProps() { return { props: { now: Date.now(), }, } }