首先fork此项目https://github.com/akash-santhosh/csjourney ,我fork后,得到的项目地址是https://github.com/brightmann/asc .
访问https://github.com/brightmann/asc/tree/main/posts ,在此处新建源帖(即add file),我新建了源帖pt.md,内容为:
---
author: ym
date: '2026-06-11T21:24:00.000Z'
hero_image: /dead-lap.jpg
title: 往事
---
此处写正文或html codes.
( 详见https://github.com/brightmann/asc/blob/main/posts/pt.md?plain=1)
然后,访问vercel.com/new ,导入项目https://github.com/brightmann/asc,
Build Command栏填入npm run build
Install Command栏填入npm install
然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:
https://asc-hazel.vercel.app/
项目地址:
https://github.com/akash-santhosh/csjourney
https://github.com/brightmann/asc
演示博客:
https://asc-hazel.vercel.app/
https://asc-hazel.vercel.app/blog/pt 不能够显示视频
No comments:
Post a Comment