Total Pageviews

Showing posts with label next'j's. Show all posts
Showing posts with label next'j's. Show all posts

Monday, 6 July 2026

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


首先fork此项目https://github.com/alemoraru/nextjs-portofolio-website ,我fork后,得到的项目地址是https://github.com/brightmann/anpw . 

访问https://github.com/brightmann/anpw/tree/main/src/data/blog ,在此处新建源帖(即add file),我新建了源帖fh.mdx,内容为:

---
title: "战马"
summary: "这是一篇文章"
date: "2026-06-18"
tags:
  - misc1
  - misc2
  - misc3
---

此处写正文或html codes.

( 详见https://github.com/brightmann/anpw/blob/main/src/data/blog/fh.mdx?plain=1 ,在date那行,不要加上几点几分几秒,否则build会失败) 

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

  Build Command栏填入pnpm build

 Install Command栏填入pnpm install

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

https://anpw.vercel.app/

项目地址:

https://github.com/alemoraru/nextjs-portofolio-website

https://github.com/brightmann/anpw

演示博客: 

https://anpw.vercel.app/

https://anpw.vercel.app/blog 支持分页

https://anpw.vercel.app/blog/fh 不能显示视频

Saturday, 28 February 2026

搭建基于nextjs的静态博客程序nbcw/ncbs(新玩法)

 https://github.com/Wisp-CMS/nextjs-blog-cms-wisp,
我fork后的项目地址:https://github.com/briteming/nbcw
访问www.wisp.blog , (我的登录id是briteming@gmail.com)
    Once logged in, go to the "Setup" section in your Wisp dashboard (https://www.wisp.blog/app/setup)
    Locate your-Blog-ID. 我的blog id是一串字符。
访问https://www.wisp.blog/app/write ,在此处,新建源帖。
访问vercel.com/new,导入项目https://github.com/briteming/nbcw 。点击import按钮后,在跳转到的页面里,添加环境变量,如图:


然后点击deploy按钮,等待部署完成,部署完成后,我得到网址https://nbcw.vercel.app/

我的博客地址:
https://nbcw.vercel.app/ ,不支持嵌入iframe代码。
https://nbcw.vercel.app/?page=1,支持分页。写满6个帖子后,写第7个帖子就会分页。
https://nbcw.vercel.app/blog/fighting-horse,不能显示视频。

---------------------------------------------------------

 https://github.com/Wisp-CMS/nextjs-corporate-blog-starter

我fork后的项目地址:https://github.com/briteming/ncbs

访问www.wisp.blog , (我的登录id是briteming@gmail.com)

我的博客地址:
https://ncbs-theta.vercel.app/