Total Pageviews

Saturday, 15 August 2026

搭建基于nextjs的静态博客程序rmb


首先fork此项目:https://github.com/rolemadelen/minimalist-blog,我fork后,得到的项目地址是https://github.com/brightmann/rmb
访问https://github.com/brightmann/rmb/tree/main/src/post,在这里,新建源帖ce.md,内容为:

---
title: '稀奇古怪的中国经济'
desc: '这是一篇文章'
date: '2026-06-13 23:45:00'
updated: '2026-06-13 23:45:00'
type: 'misc'
note: 'permanent'
tags: ['#misc1', '#misc2', '#misc3']
---

此处写正文或html codes.

( 详见https://github.com/brightmann/rmb/blob/main/src/post/ce.md?plain=1) 

然后,访问vercel.com/new ,导入项目
https://github.com/brightmann/rmb

  Build Command栏填入npm run build
 Install Command栏填入npm install

然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

https://rmb-xi.vercel.app/  

项目地址:
https://github.com/rolemadelen/minimalist-blog
https://github.com/brightmann/rmb

演示博客:

 https://rmb-xi.vercel.app/  ,右边第2行的3个复选框都要取消,才能显示最新发表的帖子。

 https://rmb-xi.vercel.app/post/2606132341 不能显示视频。
 https://rmb-xi.vercel.app/post/ce 

 

No comments:

Post a Comment