预览图
前提
本主题为 Hexo 主题,请确保您对 Hexo 已有基本了解 。详请参见 Hexo 官网。
开始前,请确保您的 Hexo 初始化工作已经准备完成,请参考 Hexo 安装。本主题依赖于 Node 14.x 以上版本,请注意您本地 Node 环境。
主题安装
进入您的 Hexo 博客根目录,执行如下命令,安装主题:
1 | npm i hexo-theme-async@latest |
1 | yarn add hexo-theme-async@latest |
如果您没有 ejs 与 less 的渲染器,请先安装:hexo-renderer-ejs 和 hexo-renderer-less。
1 | npm install --save hexo-renderer-less hexo-renderer-ejs |
1 | yarn add -D hexo-renderer-less hexo-renderer-ejs |
启用主题
修改 Hexo 博客配置文件 _config.yml
,到此运行起来就 Hexo-Theme-Async 主题就生效啦。
1 | # 将主题设置为 hexo-theme-async |
关于主题配置修改,可以参考 hexo-theme-async 文档
演示视频
- 安装
- 配置
- 运行源码
- 在线体验
安装示例视频,更多视频前往这里
我很可爱,请给我钱
- 本文链接: https://www.imalun.com/hexo_theme_async_guide/
- 版权声明: 本博客所有文章除特别声明外,均默认采用 CC BY-NC-SA 4.0 许可协议。