react-page-scaffolder
Creates a complete React page directory (page.tsx, index.ts, styles.css) with routing integration. Use when asked to create a new page, view, or route handler that combines components and layouts.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Purpose
Creates a complete React page directory structure (page.tsx, index.ts, styles.css) with routing integration via a helper script.
When to Use
- When adding a new page, view, or route handler to the application.
- When establishing a consistent layout and style pattern for new sections.
- When needing to rapidly scaffold the boilerplate for a complex page component.
Process
-
Page Naming: Get name in
PascalCase(e.g.,UserProfile). -
Environment Prep: Ensure the helper script is executable (
chmod +x). -
Execution: Run
create-page.sh {{PAGE_NAME}}. - Reporting: Display script output and file paths to the user.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-03-03
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!