前端部署平台 + Functions (Serverless API)
frontend/
├── public/ ← 静态资源 (自动部署)
│ └── index.html
└── functions/ ← Pages Functions (API)
└── api/
├── hello.ts → /api/hello
└── todos.ts → /api/todos
| Pages | 前端优先,Git 集成,框架自动检测 |
| Functions | Pages 的 API 层,文件路由 |
| Workers | API 优先,单一入口,更灵活 |