📜  next.js 中的活动导航链接 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:28.237000             🧑  作者: Mango

代码示例1
import Link from "next/link";
import { useRouter } from "next/router";


export const MyNav = () => {

  const router = useRouter();

  return (
    
  • home
  • about
); };