Hexo快速开始

安装全局hexo-cli

$ npm install hexo-cli -g

搭建你的博客

$ hexo init blog
$ cd blog

开启本地服务

$ hexo server

新建文章

$ hexo new "Hello Hexo"

生成静态文件

$ hexo generate

新建完成后,指定文件夹的目录如下:

.
├── _config.yml
├── package.json
├── scaffolds
├── source
|   ├── _drafts
|   └── _posts
└── themes

猜你喜欢

转载自blog.csdn.net/qq_1296888290/article/details/111867279