Skip to content

Standard Frontend Architecture

github-actions[bot] edited this page Aug 19, 2026 · 1 revision

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.

Ownership

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]
Loading

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.

Runtime boundaries

  • 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.

Integration

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.

Authoritative sources and tests

Clone this wiki locally