安装渲染器

如果您没有 pugstylus 的渲染器,请先安装: hexo-renderer-pug (这个是 Hexo 官方在维护,但是好像没有下面的星多,更新的勤快。) 或 hexo-render-pug (以及前者尚未支持开发时热更新,后者支持。) 和 hexo-renderer-stylus

npm install hexo-render-pug hexo-renderer-stylus --save
# or
yarn add hexo-render-pug hexo-renderer-stylus

npm install hexo-render-pug hexo-renderer-stylus

image-20220213105356132
node -v
npm config set registry https://registry.npm.taobao.org
npm install -g yarn
npm install hexo-cli -g
hexo init wushuai2000.github.io
cd wushuai2000.github.io
npm install
npm install hexo-render-pug hexo-renderer-stylus
npm i hexo-theme-yun