Results 11 comments of leach-chen

解决了,之前不知道怎么调试这个plugin,一调试就发现问题在哪了。加了一层目录后,拿到的module名称前会加上这个目录的名称。String module = project.path.replace(":", "")

isRegisterAuto applicationName 的作用不是很明白,能说下具体作用么?

哦哦,再问下,CompileCodeTransform里面的 void transform 函数什么时候执行,我debug的时候执行不到该函数。

哦,那这段代码怎么调试呢?这块打印的log在哪可以看到吗,我现在运行有问题,不知道是不是改了目录的原因

I have the same problem,do you have already fix it?

这里也有篇帖子讲了 https://blog.csdn.net/hanye2020/article/details/111741630

我知道怎么支持SSR服务端渲染了,折腾半天,亲测有效,https://www.leachchen.com/ 我这个网站里面文章部分就这样处理的。样式也跟后台管理系统录入的差不多。 第一步: 导入github-markdown样式 import 'mavon-editor/dist/markdown/github-markdown.min.css'; //直接使用mavon-editor里的或者自己安装下该样式 第二步: 安装这个插件,mavon-editor里其实也用的它,npm install markdown-it 第三步: import markdownIt from "markdown-it"; 第四步: var html = markdownIt({ html: true, linkify: true, typographer: true }).render(md) 第五步: 添加样式...

我知道怎么支持SSR服务端渲染了,折腾半天,亲测有效,https://www.leachchen.com/ 我这个网站里面文章部分就这样处理的。样式也跟后台管理系统录入的差不多。 第一步: 导入github-markdown样式 import 'mavon-editor/dist/markdown/github-markdown.min.css'; //直接使用mavon-editor里的或者自己安装下该样式 第二步: 安装这个插件,mavon-editor里其实也用的它,npm install markdown-it 第三步: import markdownIt from "markdown-it"; 第四步: var html = markdownIt({ html: true, linkify: true, typographer: true }).render(md) 第五步: 添加样式...