vue-cli cannot run
Can't import the named export 'format' from non EcmaScript module (only default export is available)
error in ./node_modules/markdown-it/lib/index.mjs
Can't import the named export 'parse' from non EcmaScript module (only default export is available)
error in ./node_modules/markdown-it/lib/index.mjs
Can't import the named export 'parse' from non EcmaScript module (only default export is available)
error in ./node_modules/markdown-it/lib/common/utils.mjs
Can't import the named export 'parse' from non EcmaScript module (only default export is available)
hello, did you solve the problem?
hello, did you solve the problem?
在另一个项目里使用,没报错。这个项目一直报错,然后我就在index.html中全局引入,然后 window.markdownit();
vue does not seems to be related to this package.