.
QQ扫一扫联系
在使用 vuepress 过程中,出现以下错误
在使用 vuepress 过程中,有以下文字和格式。
vue编译过程中提示 xxx 不存在,因为 biz 是undefined。
出现这个问题的主要原因是 vuepress 会自动解析 markdown 中的变量(和vue中的用法相同)。
后来查到一种解决办法如下
将转义的内容放在 `<code v-pre> ... </code>` 中可以解决这个问题。
.