{{-- Pre-hydration theme guard: set [data-theme] from the persisted useTheme key ('cc-theme') BEFORE Vite/React load, so the first paint matches the saved theme (no flash) AND the preference actually persists (useTheme seeds its state from this attribute). Defaults to light per the design system. --}} @routes @vite(['resources/css/app.css', 'resources/js/app.jsx']) {{ config('app.name', 'Laravel') }}