首先fork此项目https://github.com/xiaojundebug/xiaojun.dev ,我fork后的地址是
https://github.com/briteming/xd
然后访问 https://github.com/briteming/xd/tree/main/posts,新建源帖2025-11-18-test.mdx :
---
title: 测试
date: '2025-11-18T23:28:01.000Z'
---
这是测试。
看看如何?
然后,访问vercel.com/new ,导入项目 https://github.com/briteming/xd,点击deploy按钮,等待部署完成,部署完成后,我得到网址https://xd-five-xi.vercel.app/,
我发表了3个帖子:
https://xd-five-xi.vercel.app/posts/2025-11-18-test
https://xd-five-xi.vercel.app/posts/2025-11-18-ce
https://xd-five-xi.vercel.app/posts/2025-11-18-fighting-horse
因为源帖是 .mdx文件,它对图片链接支持得不好,所以我发表图文并茂的‘扬州’文章(https://github.com/briteming/xd/blob/main/posts/2025-11-18-yz.mdx)失败。
项目地址:
https://github.com/xiaojundebug/xiaojun.dev
https://github.com/briteming/xd
演示网站: https://xd-five-xi.vercel.app/
No comments:
Post a Comment