Total Pageviews

Sunday, 27 September 2026

muse替我在cloudflare.com平台构建基于nextjs的静态博客程序rrb


 我用github a/c: luckypoem@gmail.com登录cloudflare.com后,导入仓库https://github.com/brightmann/rrb, 试图让cloudflare平台build这个项目. 虽然build成功,但是最后创建的2个源帖却不能显示在博客的首页上,很奇怪。

 于是,又让muse来帮我构建这个静态博客程序。下面的插图就是我跟它的对话过程,共4 张插图.

 



 项目地址:

 https://github.com/ropoko/ropoko.net-backup
https://github.com/brightmann/rrb

 https://github.com/brightmann/rrb/tree/main/pages/posts 在此处,创建源帖advice.mdx,内容为:

---
title: 人生忠告
description: 这是一篇文章
date: 2026-09-16T10:05
tag: misc1,misc2,misc3
author: ym
---

此处写正文或html codes.

(详见 https://github.com/brightmann/rrb/blob/main/pages/posts/advice.mdx?plain=1)

 需编辑https://github.com/brightmann/rrb/blob/main/package.json文件,在第12行的下面加上:
"next-mdx-remote": "6.0.0",

演示博客: 

 https://rrb.luckypoem.workers.dev/ (这个没问题。我创建的帖子全部显示在了博客里)

https://rrb-ym.netlify.app/ (有点问题。我创建的帖子只显示了2个:

https://rrb-ym.netlify.app/posts/fh 和https://rrb-ym.netlify.app/posts/ce)

 https://rrb-omega.vercel.app/  (这个没问题。我创建的帖子全部显示在了博客里)

 

 

No comments:

Post a Comment