-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Description
- I confirm that this is an issue rather than a question.
Bug report
Steps to reproduce
Have sidebar that is nested more than 3 items deep.
What is expected?
No errors in the console output.
What is actually happening?
Errors on first page load and on navigating between pages.
Other relevant information
Found the line here:
vuepress/packages/@vuepress/theme-default/util/index.js
Lines 225 to 229 in ca3679c
if (groupDepth > 3) { | |
console.error( | |
'[vuepress] detected a too deep nested sidebar group.' | |
) | |
} |
Reading through that code, it seems that VuePress doesn't really have an issue with nesting deeper than three. It just errors into the console and then continues.
Is there some context that I'm missing? I see that the change happened here: 01dd45b
But 3 seems pretty arbitrary.
Actual error message:
07:58:13.598 [vuepress] detected a too deep nested sidebar group. 2 2.258cb917.js:1:3364
inetfuture