Frontend Overview
The Frontend package renders Capell pages and handles frontend request loading, cache behaviour, public HTML safety, render hooks, and asset integration.


Responsibilities
Section titled “Responsibilities”- Resolve the current site, page, language, theme, and layout.
- Render frontend Blade and Livewire page surfaces.
- Coordinate page cache and static-site output support.
- Provide frontend render hooks and asset integration points.
Frontend rendering is configured through the same package-aware settings surfaces used by the admin and core packages.


Theme UI and default frontend components are owned by capell-app/foundation-theme.
SEO metadata is owned by capell-app/seo-suite. Sitemap generation and discovery files are owned by capell-app/site-discovery. Neither belongs in the Frontend package.
Read Next
Section titled “Read Next”| Need | Read |
|---|---|
| Understand site/page/language loading | Page and site loading |
| Keep public output safe | Public HTML safety |
| Register render hooks | Extending render hooks |
| Build package frontend extensions | Frontend extensions |
| Register widget resources and delivery settings | Presentation delivery |
| Build lazy widget and fragment interactions | Capell Interactions |
| Configure server static-cache fallback | Server config |
| Register package Tailwind sources | Tailwind assets |
| Test frontend behavior | Testing frontend |
| Review package-specific frontend security notes | Security |