valaxy
valaxy copied to clipboard
question: how to get page toc config



It seems that valley/yun is feasible

So data.headers is TOC, isn't it?
Check to see if you are using async content in the API associated with vite-plugin-pages.
I have encountered this problem with extendRoute and raised an issue https://github.com/hannoeru/vite-plugin-pages/issues/257.