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 bit.ly/2EzoUDo bit.ly/2tW6eYT bit.ly/2X6vadl bit.ly/2viLpHU linuxprobe.com linuxtechi.com howtoforge.com linuxstory.org systutorials.com ghacks.net linuxopsys.com v.gd/2P9wTx v.gd/FtfpqE v.gd/eMfHsm v.gd/Ub7mqv v.gd/RReVk0 v.gd/vS3uTI v.gd/4Zxmba
Pages
▼
No comments:
Post a Comment