Hi! Why do the sidebars show home when adding a second and third navigation bar
Jaredhi opened this issue · 3 comments
Jaredhi commented
Hi! Why do the sidebars show home when adding a second and third navigation bar
ozum commented
@Jaredhi, I checked your sample repository. Yes, it shows a "Home" link, but your repository does not use "vuepress-bar". vuepress-plugin-autobar
is not developed by me.
I uninstalled vuepress-plugin-autobar
and installed vuepress-bar
:
$ npm uninstall vuepress-plugin-autobar
$ npm install vuepress-bar
Using the config below, it works as expected and does not have a "Home" link.
const getConfig = require("vuepress-bar");
const { nav, sidebar } = getConfig();
module.exports = {
title: 'blog',
description: '',
head: [
['link', { rel: 'icon', href: '/img/tx.jpg' }]
],
base: '/',
themeConfig: { nav, sidebar } ,
plugins: [
['permalink-pinyin'],
// ['autobar', { 'pinyinNav': true },],
'rpurl'
]
}
Jaredhi commented
It has been resolved, thank you so much