Redevelope static Blog II
Preparation
-
安装Node.js 一个JavaScript的运行环境,用以在本地运行开发项目。
-
安装pnpm用以管理依赖。
更换镜像源:
# 配置全局registry属性 npm config set registry https://registry.npmmirror.com # 获取registry检查是否成功 npm config get registry -
安装Git用以控制版本。
参考文章:Windows系统Git安装教程(详解Git安装过程)-学为所用
- 配置Git
Cactus
-
pnpm无法安装sharp,单独更换sharp源,然后再去
pnpm ipnpm config set sharp_binary_host "https://npmmirror.com/mirrors/sharp" pnpm config set sharp_libvips_binary_host "https://npmmirror.com/mirrors/sharp-libvips"