module.exports = {
title: "这是标题啊",
description: ".",
base: '/blog/',
themeConfig: {
smoothScroll: true,
nav: [{
text: "这是第一个导航啊",
link: "/guide/http-cache/",
}],
sidebar: {
// 为什么跳到这里就404了,
// 文档说children里第一个/会默认找目录下的README.md
'/guide/http-cache/': [{
title: '引子',
children: ['/', 'overview']
}
],
}
}
}
没整明白,请教一下
给你个参考
config.js完整代码