You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use @docusaurus/preset-classic in presets and docusaurus-plugin-openapi in plugins. When i'm running them getting below error
Module not found: Error: Can't resolve '@theme/ApiItem' in '/Users/dedakiya.monark/Desktop/OCEN-Documentation/.docusaurus'
Module not found: Error: Can't resolve '@theme/ApiItem' in '/Users/dedakiya.monark/Desktop/OCEN-Documentation/.docusaurus'
Module not found: Error: Can't resolve '@theme/ApiPage' in '/Users/dedakiya.monark/Desktop/OCEN-Documentation/.docusaurus'
Module not found: Error: Can't resolve '@theme/ApiPage' in '/Users/dedakiya.monark/Desktop/OCEN-Documentation/.docusaurus'
client (webpack 5.81.0) compiled with 4 errors
presents and plugins are as below
presets: [
[
'@docusaurus/preset-classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
}),
]
],
plugins: [
[
"docusaurus-plugin-openapi",
{
id: "multi-spec",
path: "apis",
routeBasePath: "apis",
},
],
]
The text was updated successfully, but these errors were encountered:
I want to use @docusaurus/preset-classic in presets and docusaurus-plugin-openapi in plugins. When i'm running them getting below error
presents and plugins are as below
The text was updated successfully, but these errors were encountered: