访问https://github.com/briteming/nd/tree/main/posts,在此处新建源帖(即add file),我新建了源帖fh.mdx,内容为:
---
title: "战马"
description: "这是一篇文章"
date: "May 27, 2026"
---
此处写正文或html codes.
( 详见https://github.com/briteming/nd/blob/main/posts/fh.mdx?plain=1)
然后,访问vercel.com/new ,导入项目https://github.com/briteming/nd
Build Command栏填入bun run build
Install Command栏填入bun install
然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:
https://nd-sigma.vercel.app/
项目地址:
https://github.com/nexxeln/nexxel.dev
https://github.com/briteming/nd
演示博客:
https://nd-sigma.vercel.app/
https://nd-sigma.vercel.app/blog/
https://nd-sigma.vercel.app/blog/fh 能显示视频
No comments:
Post a Comment