Hexo 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 Start1234567891011121314151617181920212223242526创建一个新的提交$ hexo new "My New Post"Hexo启动$ hexo serverpm2后台运行$ pm2 stop all$ pm2 start hexo_run js生成静态页面$ hexo generate发布到远程站点hexo deploy//hexo_run.sh 命令const { exec } = require('child_process')exec('hexo server',(error, stdout, stderr) => { if(error){ console.log('exec error: ${error}') return } console.log('stdout: ${stdout}'); console.log('stderr: ${stderr}'); #hexo Hexo http://example.com/2020/01/06/hello-world/ 作者 优妮猫 发布于 2020年1月6日 许可协议 方法传参-function参数 上一篇