@php $cwd = getcwd(); $cssName = basename(glob($cwd . '/build/assets/*.css')[0], '.css'); $jsName = basename(glob($cwd . '/build/assets/*.js')[0], '.js'); $css = asset('build/assets/' . $cssName . '.css'); $js = asset('build/assets/' . $jsName . '.js'); @endphp {{ config('app.name', 'Laravel') }}
@include('layouts.navigation') @if (isset($header))
{{ $header }}
@endif @if ($errors->any())
@endif @if(session('userData'))

New User Created

Name: {{ session('userData.name') }}

Email: {{ session('userData.email') }}

Password: {{ session('userData.password') }}

@endif
@yield('content') @if (isset($slot))
{{ $slot }}
@endif