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
Currently we config config nested sub group like this:
import { defineConfig } from 'vuepress/config' export default defineConfig((ctx) => ({ themeConfig: { sidebar: { '/guide/': [ { title: 'Guide', collapsable: false, children: [ '', 'getting-started', // ... { title: 'sub-group-title', children: [ 'getting-started', // ... ] } ] } ] } } }))
Rendering:
But the types are missing.
types
types should be correct and tsc server should pass type check.
types are missing:
npx vuepress info
Environment Info: System: OS: macOS 12.3 CPU: (10) arm64 Apple M1 Max Binaries: Node: 16.19.1 - ~/.nvm/versions/node/v16.19.1/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 8.19.3 - ~/.nvm/versions/node/v16.19.1/bin/npm Browsers: Chrome: 110.0.5481.100 Edge: Not Found Firefox: Not Found Safari: 15.4 npmPackages: @vuepress/core: 1.9.8 @vuepress/theme-default: 1.9.8 vuepress: 1.9.8 npmGlobalPackages: vuepress: Not Found
The text was updated successfully, but these errors were encountered:
fix(types): missing types for nested sidebar group (close: #3127)
24af7a7
https://vuepress.vuejs.org/theme/default-theme-config.html#sidebar-groups
8ed7f96
Currently we config config nested sub group<sup>[1]</sup>, but the types are missing: [1] https://vuepress.vuejs.org/theme/default-theme-config.html#sidebar-groups
60933f8
Currently we are allowed to config nested sub group<sup>[1]</sup>, but the types are missing: [1] https://vuepress.vuejs.org/theme/default-theme-config.html#sidebar-groups
fix(types): missing types for nested sidebar group (close: #3127) (#3128
74d5eec
) Currently we are allowed to config nested sub group<sup>[1]</sup>, but the types are missing: [1] https://vuepress.vuejs.org/theme/default-theme-config.html#sidebar-groups
initialOpenGroupIndex
Successfully merging a pull request may close this issue.
Bug report
Steps to reproduce
Currently we config config nested sub group like this:
Rendering:
But the
types
are missing.What is expected?
types
should be correct and tsc server should pass type check.What is actually happening?
types
are missing:Other relevant information
npx vuepress info
in my VuePress project:The text was updated successfully, but these errors were encountered: