跳至主要內容

导航栏案例

五六零网校小于 1 分钟

文件路径

导航栏的配置文件路径为:src/.vuepress/navbar.ts

navbar.ts 配置:

import { navbar } from "vuepress-theme-hope";

export default navbar([
  { text: "首页", icon: "home", link: "/" },
  { text: "五六零网校", icon: "creative", link: "https://www.sap560.com/" },
  { text: "导航", icon: "interact", link: "https://e.sap560.com/" },
  { text: "文件库", icon: "install", link: "https://d.sap560.com/" },
  { text: "网校频道", icon: "install", link: "https://t.sap560.com/invite/l4EGqrat" },
]);

效果 Alt text