Skip to content

Commit b3886e6

Browse files
Merge branch 'patch-1'
2 parents 2f22790 + 2fb66a6 commit b3886e6

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

src/TailwindCssPreset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static function installAuth()
3030
protected static function updatePackageArray(array $packages)
3131
{
3232
return array_merge([
33-
'laravel-mix' => '^4.0.14',
33+
'laravel-mix' => '^5.0.1',
3434
'laravel-mix-purgecss' => '^4.1',
3535
'laravel-mix-tailwind' => '^0.1.0',
3636
'tailwindcss' => '^1.0',

src/tailwindcss-stubs/resources/views/layouts/app.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="{{ app()->getLocale() }}">
2+
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -9,6 +9,9 @@
99

1010
<title>{{ config('app.name', 'Laravel') }}</title>
1111

12+
<!-- Scripts -->
13+
<script src="{{ asset('js/app.js') }}" defer></script>
14+
1215
<!-- Styles -->
1316
<link href="{{ mix('css/app.css') }}" rel="stylesheet">
1417
</head>
@@ -46,8 +49,5 @@ class="no-underline hover:underline text-gray-300 text-sm p-3"
4649

4750
@yield('content')
4851
</div>
49-
50-
<!-- Scripts -->
51-
<script src="{{ mix('js/app.js') }}"></script>
5252
</body>
5353
</html>

src/tailwindcss-stubs/resources/views/welcome.blade.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="{{ app()->getLocale() }}">
2+
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -50,9 +50,15 @@
5050
<li class="inline pr-8">
5151
<a href="https://forge.laravel.com" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase" title="Forge">Forge</a>
5252
</li>
53+
<li class="inline pr-8">
54+
<a href="https://vapor.laravel.com" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase" title="Vapor">Vapor</a>
55+
</li>
5356
<li class="inline pr-8">
5457
<a href="https://github.com/laravel/laravel" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase" title="GitHub">GitHub</a>
5558
</li>
59+
<li class="inline pr-8">
60+
<a href="https://tailwindcss.com" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase" title="Tailwind Css">Tailwind CSS</a>
61+
</li>
5662
</ul>
5763
</div>
5864
</div>

0 commit comments

Comments
 (0)