Refactor app layout to enable PWA support with updated meta tags and service worker registration
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
@yield('content')
|
||||
</body>
|
||||
</html> --}}
|
||||
<!DOCTYPE html>
|
||||
{{-- <!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
@@ -63,5 +63,27 @@
|
||||
@RegisterServiceWorkerScript
|
||||
|
||||
</body>
|
||||
</html> --}}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>@yield('title', 'Weight Scale Validation')</title>
|
||||
|
||||
<!-- Laravel PWA manifest and meta tags -->
|
||||
@laravelPWA
|
||||
|
||||
<link href="{{ mix('css/app.css') }}" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@yield('content')
|
||||
|
||||
<script src="{{ mix('js/app.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user