-
Notifications
You must be signed in to change notification settings - Fork 0
Standard Frontend Architecture
Standard frontend modules generate framework-native applications for Next.js, Vite/React, Vue, Astro, or Angular. Tailwind and shadcn/ui are always the styling system; a selected landing-page style adds native source plus DESIGN.md.
flowchart TD
Framework[frontend framework module] --> Runtime[framework entry, scripts, config]
Styling[styling.tailwind-shadcn] --> Tokens[global styles and UI primitives]
UI[optional ui style] --> Page[landing page source]
UI --> Design[DESIGN.md]
Frontend-only outputs write at the repository root. Fullstack outputs write under frontend/ through manifest scope mapping. Frontend modules do not own backend clients, databases, authentication servers, or caches.
- Next.js owns App Router layout/page boundaries.
- Vite owns the React client entry and build configuration.
- Vue owns its application mount and single-file components.
- Astro owns page/layout islands and build configuration.
- Angular is TypeScript-only and owns its application bootstrap/component tree.
Generated UI styles are source, not screenshots embedded at runtime. Preview images belong to the Praxis authoring/selection pipeline and are excluded from generated packages.
In a fullstack workspace the root scripts coordinate independent frontend/backend packages. The frontend talks to the backend through an environment-defined HTTP boundary; it does not import backend source. Docker publishes the frontend and backend as separate services when selected.
- Framework modules:
cli/templates/frontend.next/,frontend.vite/,frontend.vue/,frontend.astro/,frontend.angular/ - Styling:
cli/templates/styling.tailwind-shadcn/ - UI architecture: UI-Templates
- Matrix contracts:
cli/tests/generator/matrix.test.ts
This Wiki is generated from the repository's versioned docs/ source. Update and review the source files; do not rely on hand edits to generated Wiki pages.
- Core-Internals
- Architecture
- Repository-Map
- Code-Architecture
- Generation-Pipeline
- Manifest-System
- UI-Templates
- Testing
- Agent-Guide
- Wiki-Publishing
- Template-Architecture
- Standard-Projects
- Standard-Frontend-Architecture
- Express-Architecture
- Fullstack-Architecture
- Praxis-Pro
- Django-Architecture
- Gin-Architecture
- Capability-Architecture
- Compose-Architecture
- Kubernetes-Architecture
- Terraform-Architecture
- Extending-Generated-Projects
- Generated-Backends