Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

NoTimeForCaution's avatar

NoTimeForCaution wrote a comment+100 XP

3mos ago

Quick question @calebporzio,

You state above "The general pattern I like for app structure is: components for shared UI pieces, layouts for app shells, and pages for routeable pages. It keeps things predictable."

Where do we put our children?

If I have a pages/reporter/⚡dashboard.blade.php (I route here so I'm using this path based on above).

Where do I place all of the v4 SFC children of that page? No specific routes to these SFC, just island children:

  • overview (defer)
  • quick-stats (defer)
  • report-history (lazy)
  • bulletin-history (lazy)