/Blog

个人博客

Primary LanguageCSS

###构建构成

###常用命令

$ hexo n == hexo new <title>  //新建md文件(文章)
$ hexo g == hexo generate //构建静态文件
$ hexo s == hexo server  //搭建服务,访问http://localhost:4000/ 
$ hexo d == hexo deploy  //部署代码至github page
$ hexo clean //清除缓存
$ hexo -v

###使用问题

Warning:
You need to have Ruby and Sass installed and in your PATH for this task to work.
More info: https://github.com/gruntjs/grunt-contrib-sass
 Used --force, continuing.
Warning: Exited with error code 1 Used --force, continuing.

grunt需要全局安装ruby和sass,而且必须添加至全局变量,解决办法

###资料