访问https://github.com/brightmann/nb/tree/main/posts,在此处新建源帖(即add
file),我新建了源帖fh.md,内容为:
---
title: "战马"
subtitle: "这是一篇文章"
date: "2026-06-13T23:02:00"
---
此处写正文或html codes.
(详见 https://github.com/brightmann/nb/blob/main/posts/fh.md?plain=1)
然后,访问vercel.com/new ,导入项目https://github.com/brightmann/nb
Build Command栏填入yarn build
Install Command栏填入yarn
然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:
https://nb-theta-two.vercel.app/
项目地址:
https://github.com/ninadnaik10/blog
https://github.com/brightmann/nb
演示博客:
https://nb-theta-two.vercel.app/
https://nb-theta-two.vercel.app/blog/fh 能显示视频
No comments:
Post a Comment