Replies: 1 comment
-
You probably need to rewrite every component to get it migrate to VuePress2, we rebuilt our core structure to increase performance. Try digging through v2 theme code could be a option |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a custom component created by previous developer that uses resolveSidebarItems from v1.x to create links on a parent/first ReadMe. This then shows the links in a ul and allows you to navigate to those pages.
This is the current code:
I can't figure out of Vuepress 2 has the same functionality. I did find a resolveSidebarItems function under @vuepress/theme-default, under the lib/client/composables/useSidebarItems.js but couldn't figure out if:
Not sure if I'm being an idiot here, whether the I should just scrap the component and try to figure something else out.
Getting the following error:
Beta Was this translation helpful? Give feedback.
All reactions