📌 📄 内容摘要:
banlan 在 【完工】使用vscode+github+cloudflare搭建简约博客 中发帖
[微信截图_20250113234833]
[微信截图_20250113234825]
用来写点小东西(清爽一点)
部署
1.克隆仓库
在代码编辑器(以vscode为例)
ctrl+i打开终端,新建空目录
mkdir simpleblog
进入该目录
cd simpleblog
克隆仓库过来
git clone https://github.com/2005zs/simpleblog.git
git clone [email protected]:2005zs/simpleblog.git//https不通的时候,用ssh来clone
2.安装依赖
npm ci
npm install gray-matter
OK,这就好了 🤣
3.新建博客
npm run new
[微信截图_20241231231317]
npm run new后显示请输入博客标...
────────── 链接信息 ────────── 🔗 论坛链接: linux.do 📎 访问地址: https://linux.do/t/topic/358290/1 ─────────────────────────────
📢 来源:LINUX DO