emersonbottero / vitepress-plugin-mermaid

Add mermaid support for Vitepress
MIT License
95 stars 22 forks source link

docs: ask users to install mermaid too #23

Closed brc-dd closed 2 years ago

brc-dd commented 2 years ago

fixes #19

npm (>=3 <7) does not install peer deps by default. Strict package managers like pnpm and yarn v2+ also don't. It's better to make users directly install mermaid too to avoid confusion.

Regarding that virtual module thing mentioned in the linked issue, I've fixed that in VitePress, it'll be there in the next version.