Hello World
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 StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
搭建hexo博客
1. 安装前的准备安装 Hexo 相当简单,只需要先安装下列应用程序即可 Node.js (本次使用 Node.js 22.14.0) Git 2. 安装Hexohexo官网:https://hexo.io/ 所有必备的应用程序安装完成后,即可使用 npm 安装 Hexo。 1234567891011121314151617#安装npm install hexo-cli -g#初始化npx hexo init buxianxian#进入项目cd buxianxian#安装依赖npm install#启动服务npx hexo server#查看hexo版本npx hexo -v 3. 运行hexo1npx hexo cl && npx hexo g && npx hexo s 分别对应清除生成的静态文件,生成新的静态文件,启动项目 4. 访问本地访问http://localhost:4000/ 5....