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.
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.