KeystoneJS 中的注释

Comments in KeystoneJS

KeystoneJS 网站的演示中有一个 "comment on posts" 模块,而当您生成自己的 KeystoneJS 应用程序时,它并没有附带。如何将它添加到我的 KeystoneJS 应用程序中?

Yeoman Generator for KeystoneJS is not a duplicate of the demo site. You can view the code for the demo site,但自定义选项较少。您还可以使用 Yeoman 生成器按照您想要的方式制作网站,然后从演示网站复制适当的模型和路线,如果您正在寻找的只是评论-post 功能。