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
We would like to have such API too @ulivz can we have some reply from core team if this feature will be considered so we can decide if we can try working on it?
Feature request
What problem does this feature solve?
Currently, it is not possible to add headings that show up in TOC or sidebar from within Vue component templates.
An API to add page headings would allow components to make use of the sidebar="auto" feature.
(See related issue #1423 or https://stackoverflow.com/questions/55328002/how-to-generate-headings-from-within-vue-components-in-vuepress)
What does the proposed API look like?
I'm not that familiar with the VuePress architecture that I dare to propose an API.
How should this be implemented in your opinion?
Is there anything that is executed for components during build time?
Are you willing to work on this yourself?
If I get some help in designing such an API, I am willing.
The text was updated successfully, but these errors were encountered: