Total Pageviews

Wednesday, 24 December 2025

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

首先fork此项目https://github.com/delbaoliveira/website,我fork后的项目地址是https://github.com/briteming/dw, 
然后访问https://github.com/briteming/dw/tree/main/content,新建源帖ar-fh.mdx(之所以要命名为ar-fh,是因为程序作者排列在https://github.com/briteming/dw/tree/main/content这个页面最上面的帖子是async-await.mdx)
内容为:

---
title: '战马'
description: '这是一篇文章'
---

此处写视频的嵌入代码

( 详见https://github.com/briteming/dw/blob/main/content/ar-fh.mdx?plain=1)

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

然后,点击deploy按钮,等待部署完成,部署完成后,我得到网址https://dw-bm.vercel.app/

 新建源帖后,博客网站2-3分钟内就会更新。

 项目地址:

https://github.com/delbaoliveira/website

https://github.com/briteming/dw

演示博客:

https://dw-bm.vercel.app/

https://dw-bm.vercel.app/ar-fh 能显示视频.

 同一天里发表的帖子是按字母顺序从上到下排列的,这样即可做到按发表的时间顺序排列:

 https://dw-bm.vercel.app/ar-admonition

 https://dw-bm.vercel.app/ar-ce

 https://dw-bm.vercel.app/ar-fh

 https://dw-bm.vercel.app/async-await


相关帖子: 搭建基于nextjs的静态博客程序jntmb


No comments:

Post a Comment