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/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/fVjECx ppt.cc/fIr1ax tecmint.com linux.die.net linux.it.net.cn ostechnix.com unix.com man.linuxde.net bit.ly/2EzoUDo bit.ly/2v6jGJi bit.ly/2tW6eYT bit.ly/2X6vadl bit.ly/2viLpHU linuxprobe.com linuxtechi.com linuxstory.org systutorials.com ghacks.net linuxopsys.com reurl.cc/8W1x3X reurl.cc/NpzMWe reurl.cc/WrgYdx reurl.cc/Yv4Yvo reurl.cc/Lmy90K reurl.cc/Rr5aeG
Total Pageviews
Monday 28 October 2024
搭建基于vite的静态博客程序 antfu.me
Labels:
nodejs
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment