首先fork此项目https://github.com/leighhalliday/next-blog,我fork后的项目地址是https://github.com/briteming/lhnb,然后访问https://github.com/briteming/lhnb/tree/main/posts,新建源帖test.mdx,内容为:
---
title: 测试
tags:
- misc1
- misc2
date: 2025-11-25T19:41:00
---
这是测试。
看看如何?
( 详见https://github.com/briteming/lhnb/blob/main/posts/test.mdx?plain=1)
然后访问vercel.com/new ,导入项目https://github.com/briteming/lhnb ,点击deploy按钮,等待部署完成,部署完成后,我得到网址https://lhnb.vercel.app/
新建源帖后,博客网站2分钟内就会更新。
项目地址:
https://github.com/leighhalliday/next-blog
https://github.com/briteming/lhnb
demo blog:
https://lhnb.vercel.app/
No comments:
Post a Comment