sylvainpolletvillard / vuepress-plugin-global-toc

A vuepress 1.x plugin to add a global table of contents
MIT License
7 stars 2 forks source link

Compatibility with Vuepress 2 #3

Open NathanStrutz opened 2 years ago

NathanStrutz commented 2 years ago

Hi - I loved using this plugin on Vuepress v1 - thanks for your hard work! I'm testing out an upgrade of my docs site to Vuepress 2. I love the incredible speed I get out of Vite-- no more delays waiting for Vuepress to start up is life-changing!

Anyway, when I load this plugin, vuepress-plugin-global-toc, I receive the error: Cannot find module '@vuepress/shared-utils'. It looks like something in the old Vuepress v1 shared utils is what was populating the file list.

sylvainpolletvillard commented 6 months ago

Better late than never - the abandon of Vuepress 2 in favor of Vitepress from the official team discouraged me from porting this plugin to Vuepress 2. But I'm looking at porting it to Vitepress right now. I'm open to PR for Vuepress 2 though