Total Pageviews

Sunday, 30 November 2025

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


首先fork此项目https://github.com/hswolff/blog-with-nextjs-and-tailwind,我fork后的项目地址是https://github.com/ymbrite/bnt ,
然后访问https://github.com/ymbrite/bnt/tree/main/_content,新建源帖fh.md,内容为

---
title: 战马
date: 2026-01-01T08:11:00.220Z
---

此处为视频的嵌入代码 

( 详见https://github.com/ymbrite/bnt/blob/main/_content/fh.md?plain=1)

 然后访问vercel.com/new ,导入项目https://github.com/ymbrite/bnt,点击deploy按钮,等待部署完成,部署完成后,我得到网址https://bnt-pi.vercel.app/

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

 项目地址:

https://github.com/hswolff/blog-with-nextjs-and-tailwind

https://github.com/ymbrite/bnt

演示博客:https://bnt-pi.vercel.app/

https://bnt-pi.vercel.app/blog/fh 能显示视频

No comments:

Post a Comment