Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vuepress@next中无法显示valine评论组件 #392

Open
Hsinky opened this issue Mar 8, 2022 · 1 comment
Open

vuepress@next中无法显示valine评论组件 #392

Hsinky opened this issue Mar 8, 2022 · 1 comment

Comments

@Hsinky
Copy link

Hsinky commented Mar 8, 2022

复现步骤:
在.vuepress/config.js中
module.exports={
plugins: [
[
'vuepress-plugin-comment',
{
choosen: 'valine',
// options选项中的所有参数,会传给Valine的配置
options: {
el: '#valine-vuepress-comment',
appId: '已创建应用-gzGzoHsz',
appKey: '已创建应用sGCQantUdpPRo8zVik',
path: '<%- frontmatter.commentid || frontmatter.permalink %>',
placeholder: "评论支持Markdown语法",
visitor: true,
emojiCDN: '//i0.hdslb.com/bfs/emote/',
avatar: "monsterid",
}
}
]
],
}
如上,实际在md页面中并没有显示评论组件

@Grooveofmimosa
Copy link

我发现一旦加入emojiCDN的配置项,valine就不显示,如果去掉就会正常显示

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants