bisheng icon indicating copy to clipboard operation
bisheng copied to clipboard

启动demo 空白页面

Open deligent-ant opened this issue 4 years ago • 1 comments

尝试按照官方demo 配置

module.exports = {
  source: './posts',
  output: './_site',
  // theme: './_theme',
  theme: 'bisheng-theme-one',
  port: 8000,
}

但启动起来是空白页面,/post文件下有hello-world.md 文件,但没自动生成common.js 这体验也太差了。

deligent-ant avatar Apr 26 '20 05:04 deligent-ant

因为默认template还是老版的,里面默认把common.js引入进去,而新版的不会生成common.js,可以自己写一个template

oyv1cent avatar Jul 06 '20 06:07 oyv1cent