Blitz 尚在 beat 阶段! 🎉 预计会在今年的 Q3 季度发布 1.0
Back to Documentation Menu

blitz routes

别名:blitz r

显示 Blitz 的所有路由。

示例

> blitz routes

✔ Compiled

┌──────┬─────────────────────────────────────┬───────────────────────────────────┬──────┐
│ HTTP │ Source File                         │ URI                               │ Type │
├──────┼─────────────────────────────────────┼───────────────────────────────────┼──────┤
│ GET  │ app/pages/index.tsx                 │ /                                 │ PAGE │
│ GET  │ app/pages/ssr.tsx                   │ /ssr                              │ PAGE │
│ GET  │ app/auth/pages/login.tsx            │ /login                            │ PAGE │
│ GET  │ app/auth/pages/signup.tsx           │ /signup                           │ PAGE │
│ GET  │ app/users/pages/users/index.tsx     │ /users                            │ PAGE │
│  *   │ app/api/auth/[...auth].ts           │ /api/auth/[...auth]               │ API  │
│ POST │ app/auth/mutations/login.ts         │ /api/auth/mutations/login         │ RPC  │
│ POST │ app/auth/mutations/logout.ts        │ /api/auth/mutations/logout        │ RPC  │
│ POST │ app/auth/mutations/signup.ts        │ /api/auth/mutations/signup        │ RPC  │
│ POST │ app/users/mutations/trackView.ts    │ /api/users/mutations/trackView    │ RPC  │
│ POST │ app/users/queries/getCurrentUser.ts │ /api/users/queries/getCurrentUser │ RPC  │
│ POST │ app/users/queries/getUser.ts        │ /api/users/queries/getUser        │ RPC  │
│ POST │ app/users/queries/getUsers.ts       │ /api/users/queries/getUsers       │ RPC  │
└──────┴─────────────────────────────────────┴───────────────────────────────────┴──────┘
✨  Done in 4.60s.

Idea for improving this page? Edit it on GitHub.