Answers for "external page link next js"

33

external page link next js

import Link from "next/link";   //import this
     
<Link href="/">    //wrap a tag with Link
     <a>Home</a>
</Link>

<Link href="https://nextjs.org">   //external page
      <a>Next.js</a>
 </Link>
Posted by: Guest on June-25-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language