Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

使用hexo init安装后,通过hexo s启动服务可以看到是对的了
image

然后安装next
git clone https://github.com/iissnan/he... themes/next
theme: next
启动 hexo s
这是后localhost:4000显示的不是next官网上说的页面,这是怎么回事呀
image

package.json
image


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.1k views
Welcome To Ask or Share your Answers For Others

1 Answer

解决方法:npm i hexo-renderer-swig
原因:hexo在5.0之后把swig给删除了需要自己手动安装
如果有什么问题可以加hexo的QQ群,我就是在qq群里问,有人帮忙解决的。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...