Hexo更改主题后启动服务器,界面显如下字符:
Hexo启动页面显示extends includes/layout.pug block content include includes/recent-posts.pug include
遇到这样的问题学会在csdn里找答案:
解决方法:
1.git bash here执行如下命令:
npm install --save hexo-renderer-jade hexo-generator-feed hexo-generator-sitemap hexo-browsersync hexo-generator-archive
显示如下:
出现这样的就表明代码执行成功,也会遇到不一样的情况。
2. 输入hexo clean
3. 输入hexo g
4.输入hexo s 部署本地
必须出现url显示:
google打开链接http://localhost:4000/
出现新界面
成功!
5.输入hexo d
bug就解决了