Closed huanggm closed 3 years ago
You can override like below:
//.vuepress/config.js
const getConfig = require("vuepress-bar");
const { nav, sidebar } = getConfig();
// Find item with text "Api" and change it to "API".
nav.find(item => item.text === "Api").text = "API";
module.exports = {
themeConfig: {
nav,
sidebar,
}
};
The parameter "dt" means "disable titleize".
Sometimes the nav's name maybe API or FQA. And I don't want to be Api or Fqa. 🥺