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