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.

# Quick Start

# Init project

yarn global add hexo-cli
hexo init blog
cd blog
hexo s

# Create a new post

hexo n "My New Post"

More info: Writing

# Create a new draft

hexo n draft "My New Draft"

# Publish a new draft

hexo p "My New Draft"

# Create a new page

hexo n page "My New Page"

# Run server

hexo s

More info: Server

# Generate static files

hexo g

More info: Generating

# Deploy to remote sites

hexo d

More info: Deployment

# Clean

hexo cl
更新于 阅读次数