Total Pageviews

Saturday, 19 September 2026

搭建基于nextjs的静态博客程序nextify


首先fork此项目https://github.com/frontendweb3/nextify,我fork后,得到的项目地址是

https://github.com/brightmann/nextify 

 编辑https://github.com/brightmann/nextify/blob/main/package.json,把next的版本改为最新版16.3.5

 删除https://github.com/brightmann/nextify 里面的pnpm-lock.yaml

 在这里https://github.com/brightmann/nextify/tree/main/content/blog,新建源帖fh.md,内容为:

---
title: 战马
description: 这是一篇文章
date: 2026-09-02T21:28:00.939Z
draft: false
tags:
  - misc1
  - misc2
  - misc3
category:
  - Health
image: /images/vegetables.jpg
author: ym
---

此处写正文或html codes.

(详见https://github.com/brightmann/nextify/blob/main/content/blog/fh.md?plain=1)

 然后,访问vercel.com/new ,导入项目https://github.com/brightmann/nextify ,

 在Build Command栏填入npm run build
 在Install Command栏填入npm install --force

 点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

https://nextify-ruddy.vercel.app/

项目地址:

https://github.com/frontendweb3/nextify

https://github.com/brightmann/nextify 

演示博客地址:

https://nextify-ruddy.vercel.app/blog

https://nextify-ruddy.vercel.app/blog/fh 不能显示视频。

看到这里 https://nextify-ruddy.vercel.app/docs 也有docs这个目录,跟此文

 https://briteming.blogspot.com/2026/09/nextjsixd.html里说的ixd程序一样:

 https://ixd-nine.vercel.app/docs

 nextify和ixd都是基于fumadocs程序修改的。

 https://github.com/frontendweb3/nextify项目的readme里面有这么一句:

'Every feature in the nextify template comes from fumadocs itself.'

 

 

 

No comments:

Post a Comment