フォーマッター&コード
Next.js App Router ページジェネレーター
Scaffold app/route/page.tsx with metadata and loaders.
編集者注
Understanding · A folder is a route, a file is a level.
この詳細な解説章は現在、英語版のみで提供されています。上の変換ツールはあなたの言語で動作しますが、長文の解説記事はまだ翻訳されていません。
よくある質問
Quick answers.
›Does this support the Pages Router?
No. This tool is specifically designed for the App Router architecture introduced in Next.js 13, focusing on Server Components and the `app/` directory.
›Is the output TypeScript compatible?
Yes. The generated code includes standard TypeScript interfaces for `PageProps`, such as `params` and `searchParams`, ensuring type safety for your routes.
›Can I include SEO metadata?
Yes. You can toggle the inclusion of a static `Metadata` object or a dynamic `generateMetadata` function depending on your route requirements.
›Are client side hooks included?
By default, the tool generates Server Components. If you need hooks like `useState` or `useEffect`, you can toggle the `"use client"` directive in the options.
他の人はこちらも検索しています
関連ツール
More in this room.
- JSONからReact Hook Form + ZodへJSONの形状から型付きフォームスキーマとuseFormフックを生成。
- JSONからNext.js Server ActionへZod解析とrevalidatePathを備えたServer Action。
- JSONからPrismaスキーマモデルへJSONサンプルからPrismaモデルブロックを生成。
- JSONからDrizzle ORMスキーマへ$inferSelect / $inferInsertを持つDrizzle pgTable定義。
- JSONからTypeORMエンティティへデコレーターと生成されたidを持つTypeORM @Entityクラス。
- JSONからMongooseスキーマ + モデルへタイムスタンプと型を持つMongooseスキーマ + モデル。