Closed tups closed 1 month ago
OK, I found out how to fix my mistake, I had to add docRootComponent and docItemComponent
[
"@docusaurus/plugin-content-docs",
{
id: 'devdocs',
path: "devdocs",
breadcrumbs: true,
routeBasePath: "devdocs",
include: ["**/*.md", "**/*.mdx"],
sidebarPath: require.resolve('./devdocs/sidebars.js'),
docRootComponent: "@theme/DocRoot", // add @theme/DocRoot
docItemComponent: "@theme/ApiItem", // add @theme/ApiItem here
},
],
// ...
]
Describe the bug
Since I updated from version 2 to version 4, I have the following React-Redux error on the API documentation pages
Expected behavior
Let the page generate
Current behavior
Dev page crash and compilation error in build With
yarn start
and access to the page :With
yarn build
:Possible solution
Nope
Steps to reproduce
To help, here is the complete configuration:
package.json
user_openapi.yaml
docusaurus.config.js :
Screenshots
Your Environment