After some research, I think using Yarn's workspaces feature might be the best
solution to support Vuepress 1 and 2 at the same time without creating too many
repositories.
Going forward, I propose vuepress-plugin-mermaidjs will keep supporting
Vuepress 1.x, and a new vuepress2-plugin-mermaidjs will be created to support
Vuepress 2.x.
I'm optimistic that this will finally tackle #64. :)
After some research, I think using Yarn's workspaces feature might be the best solution to support Vuepress 1 and 2 at the same time without creating too many repositories.
Going forward, I propose
vuepress-plugin-mermaidjs
will keep supporting Vuepress 1.x, and a newvuepress2-plugin-mermaidjs
will be created to support Vuepress 2.x.I'm optimistic that this will finally tackle #64. :)