You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Docusaurus多博客实例路径失效求助:已配置插件仍无法访问

Docusaurus多实例博客插件配置后访问路径无法正常工作

我正尝试在Docusaurus文档网站中创建第二个博客,已添加@docusaurus/plugin-content-blog多实例插件并完成如下配置,但对应的访问路径仍无法正常工作,恳请技术支持。

配置代码如下:

plugins: [
        [
          '@docusaurus/plugin-content-blog',
          {
            /**
             * Required for any multi-instance plugin
             */
            id: 'tutorial',
            /**
             * URL route for the blog section of your site.
             * *DO NOT* include a trailing slash.
             */
            routeBasePath: 'tutorial',
            /**
             * Path to data on filesystem relative to site dir.
             */
            path: './tutorial',
            postsPerPage: 2,
            feedOptions: {
              type: 'all',
              copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc.`,
            },
          },
        ]
      ],

相关问题截图:
问题截图

内容的提问来源于stack exchange,提问作者Iheanacho Amarachi Sharon

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.01 07:07:07