23 lines
1.5 KiB
PHP
23 lines
1.5 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title inertia><?php echo e(config('app.name', 'Laravel')); ?></title>
|
|
|
|
<!-- Fonts -->
|
|
<link rel="preconnect" href="https://fonts.bunny.net">
|
|
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
|
|
|
|
<!-- Scripts -->
|
|
<?php echo app('Tighten\Ziggy\BladeRouteGenerator')->generate(); ?>
|
|
<?php echo app('Illuminate\Foundation\Vite')(['resources/js/app.js', "resources/js/Pages/{$page['component']}.vue"]); ?>
|
|
<?php if (!isset($__inertiaSsrDispatched)) { $__inertiaSsrDispatched = true; $__inertiaSsrResponse = app(\Inertia\Ssr\Gateway::class)->dispatch($page); } if ($__inertiaSsrResponse) { echo $__inertiaSsrResponse->head; } ?>
|
|
<!-- DEBUG URL: <?php echo e(asset('storage/test.png')); ?> -->
|
|
</head>
|
|
<body class="font-sans antialiased">
|
|
<?php if (!isset($__inertiaSsrDispatched)) { $__inertiaSsrDispatched = true; $__inertiaSsrResponse = app(\Inertia\Ssr\Gateway::class)->dispatch($page); } if ($__inertiaSsrResponse) { echo $__inertiaSsrResponse->body; } else { ?><div id="app" data-page="<?php echo e(json_encode($page)); ?>"></div><?php } ?>
|
|
</body>
|
|
</html>
|
|
<?php /**PATH C:\wwwroot\stylegallery\backend\resources\views/app.blade.php ENDPATH**/ ?>
|