当然要先进入hexo目录下面 shift + 右击
今天终于重新学习了hexo 写博客的方法,准备记录下,以免忘记
其实就几步
hexo clean #清理缓存
hexo g
hexo s -p 5000 #本地运行
hexo d #上传到github
写文章
hexo new "postName" #新建文章
hexo new page "pageName" #新建页面
其他
hexo deploy #部署到GitHub
hexo version #查看Hexo的版本
HexoEditor 写博客 #在HexoEditor目录下,输入npm start