-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started.zh
FlowerCA77 edited this page Sep 21, 2025
·
1 revision
英文为默认版本。若需英文版,请前往:Getting-Started。
本网站由 Astro + Tailwind + React 构建,并发布到 GitHub Pages。
- Node.js(建议 LTS 或更高)
- PNPM(版本在
package.json的packageManager字段中有提示)
1)克隆主仓库 FlowerCA77/FlowerCA77.github.io。
2)安装依赖:
pnpm installpnpm dev- 默认端口:4321
- 支持热重载
pnpm build
pnpm preview- 输出目录:
dist/
-
src/pages/:基于文件的路由(首页、关于、articles、news、announcements、authors、series、tags) -
src/content/:Markdown/MDX 内容,结构由src/content.config.ts定义 -
src/components/、src/layouts/:可复用 UI 与模板 -
src/styles/:Tailwind 入口与全局样式 -
public/:原样复制到构建产物
下一步:前往 Project-Structure(或中文版 Project-Structure.zh)。
- Home
- Getting Started
- Project Structure
- Content Collections
- Components & Layouts
- Routing
- Styling & Theming
- Markdown & MDX
- Development Workflow
- Deployment
- CI/CD
- FAQ
- Troubleshooting
- Contributing
- Security
- Support
- Changelog
- License