We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config.js
If you follow the readme and use the package no a vanilla collection of MD-files, it throws an error:
[Vue warn]: Error in render: "TypeError: Cannot read property 'auto' of undefined"
A workaround is to add an empty object in themeConfig.sidebar in config.js:
themeConfig.sidebar
module.exports = { theme: "cosmos", themeConfig: { sidebar: {}, }, };
The theme should default to auto even if sidebar is not provided.
auto
sidebar
vuepress-theme-cosmos/global-components/TmSidebarContent.vue
Line 12 in c5a91fa
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you follow the readme and use the package no a vanilla collection of MD-files, it throws an error:
A workaround is to add an empty object in
themeConfig.sidebar
inconfig.js
:The theme should default to
auto
even ifsidebar
is not provided.vuepress-theme-cosmos/global-components/TmSidebarContent.vue
Line 12 in c5a91fa
The text was updated successfully, but these errors were encountered: