cd ~
git clone https://github.com/antfu/antfu.me antfu.me-site
cd antfu.me-siteu.m
pnpm install (不要用npm install. 用npm install会遇到错误)
pnpm build (这就是生成/更新静态网站的根目录的命令。此命令会在当前目录下,生成dist目录)
新建源帖:
cd ~/antfu.me-site/pages/posts
nano happy-festival.md
cat happy-festival.md
显示:
---
title: 快乐的节日
date: 2024-10-28 08:45:00
lang: en
description: 这是一篇文章
---
此处写正文或html codes
cd ../..
pnpm build
演示网站:https://sparkling-pastelito-98a036.netlify.app/
项目地址:https://github.com/antfu/antfu.me
此帖子https://sparkling-pastelito-98a036.netlify.app/posts/yangzhou遇到了https://briteming.blogspot.com/2024/10/nextjstailwind-nextjs-starter-blog.html里面说的一样的问题。
ppt.cc/fVjECx ppt.cc/fEnHsx ppt.cc/fRZTnx ppt.cc/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/fIr1ax ppt.cc/f71Yqx tecmint.com linuxcool.com linux.die.net linux.it.net.cn ostechnix.com unix.com ubuntugeek.com runoob.com man.linuxde.net ppt.cc/fwpCex ppt.cc/fxcLIx ppt.cc/foX6Ux linuxprobe.com linuxtechi.com howtoforge.com linuxstory.org systutorials.com ghacks.net linuxopsys.com ppt.cc/ffAGfx ppt.cc/fJbezx ppt.cc/fNIQDx ppt.cc/fCSllx ppt.cc/fybDVx ppt.cc/fIMQxx ppt.cc/fKlBax
Total Pageviews
5,400,597
Monday, 28 October 2024
搭建基于vite的静态博客程序 antfu.me
Labels:
nodejs
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment