引入后报错
HttpStatusOK opened this issue · 3 comments
HttpStatusOK commented
Uncaught SyntaxError: The requested module '/@fs/D:/.../node_modules/moment-mini/moment.min.js?v=fb4f9220' does not provide an export named 'default' (at mermaid.core.mjs?v=fb4f9220:7:8)
axolo commented
npm i vitepress-plugin-mermaid mermaid@8 -D
HttpStatusOK commented
有用!解决了,谢谢!
axolo commented
# 9.1版本也可以
npm i mermaid@~9.1.7