如何通过在顶部导航栏上放置链接来创建带有侧边栏的其他文档?

问题描述

我只想在不同的页面上有两个不同的文档内容。但是我收到一个页面未找到错误

enter image description here

如你所见,我添加菜单

    items: [
    {
      to: 'docs/',activeBasePath: 'docs',label: 'Docs',position: 'left',},{
      to: 'docsGerman/',label: 'Docs German',

这是我的侧边栏 js

    module.exports = {
  someSidebar: {

    'item1': ['kc1-m1','kc1-m2'],'item2': ['Ecb-m1','cb-m2'],'item3': ['doc1','doc2','doc3'],KC3: ['mdx'],ECBStrategy: ['newdoc'],docsGerman: {
    'German item1': ['docsGerman/newdocDE'],};


---

这是我的第二个文档页面内容enter image description here

id: newdocDE
title: NecDoc Title
slug: /docsGerman 
---

ffffffffffffff

谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...