Total Pageviews

Thursday, 5 March 2026

搭建基于nuxtjs的静态博客程序lzlb

 首先fork此项目https://github.com/L33Z22L11/blog-v3,我fork后的项目地址是

 https://github.com/ymbrite/lzlb,然后把项目 https://github.com/ymbrite/lzlb导入到

vercel.com/new . 在点击import按钮后,所跳转到的页面里,如下图那样填写build命令和install命令:

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

访问https://github.com/ymbrite/lzlb/tree/main/content/posts/2026,新建源帖fh.md,内容为

---
title: 战马
description: 这是一篇文章
date: 2026-03-03 18:17:00
updated: 2026-03-03 18:17:00
image: /assets/green.png
categories: [生活]
tags: [misc1, misc2, misc3]
---

此处写html codes或正文。

(详见 https://github.com/ymbrite/lzlb/blob/main/content/posts/2026/fh.md?plain=1。

green.png是我上传的,我上传到了这里:

https://github.com/ymbrite/lzlb/blob/main/public/assets/green.png。

在 https://github.com/ymbrite/lzlb/tree/main/public/assets处,进行上传)

约等2分钟,博客网站就会更新。

项目地址:

https://github.com/L33Z22L11/blog-v3

https://github.com/ymbrite/lzlb

演示博客:

https://lzlb.vercel.app/,支持分页。

https://lzlb.vercel.app/2026/fh ,所有的基于nuxt的静态博客都支持嵌入音视频。

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

类似的:

 https://github.com/chansee97/nuxt-blog

 https://github.com/ymbrite/nuxt-blog
https://nuxt-blog-roan.vercel.app/

 


 

No comments:

Post a Comment