首先fork此项目:https://github.com/eyalcohen4/coheneyal.com ,我fork后,得到的项目地址是https://github.com/brightmann/ecc
访问https://github.com/brightmann/ecc/tree/main/content,在这里,先新建文件夹,比如fh,然后在文件夹fh里面,新建帖子index.mdx ,内容为:
---
title: 战马
date: 2026-06-21 20:10:00
description: 这是一篇文章
image: "turborepo/turbo.webp"
---
此处写正文或html codes.
( 详见https://github.com/brightmann/ecc/blob/main/content/fh/index.mdx?plain=1)
然后,访问vercel.com/new ,导入项目https://github.com/brightmann/ecc
Build Command栏填入yarn build
Install Command栏填入yarn
然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:
https://ecc-eight-sigma.vercel.app/
项目地址:
https://github.com/eyalcohen4/coheneyal.com
https://github.com/brightmann/ecc
演示博客:
https://ecc-eight-sigma.vercel.app/
https://ecc-eight-sigma.vercel.app/blog/
https://ecc-eight-sigma.vercel.app/blog/fh 能显示视频。
No comments:
Post a Comment