Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
hexo command
init hexo
1 |
$ hexo init |
Create a new post
1 |
$ hexo new "my new post" |
clean
1 |
$ hexo clean |
generate
1 |
$ hexo generate |
localhost server
1 |
$ hexo server |
deploy
1 |
$ hexo deploy |
将hexo部署到github上
1 |
$ npm install --save hexo-deployer-git |
参考文献
https://www.bilibili.com/video/av44544186?from=search&seid=11818013369759115497