Skip to content

Commit b59a8fb

Browse files
authored
Merge pull request #1 from vdvcoder/patch-1
Added x-cloak to remove the "blip" when page reloads
2 parents 59a4b5a + f866191 commit b59a8fb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

stubs/resources/views/layouts/app.blade.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@
1010
<script src="{{ asset('js/app.js') }}" defer></script>
1111
@stack('scripts')
1212
<livewire:styles/>
13+
<style>
14+
[x-cloak] { display: none !important; }
15+
</style>
1316
</head>
1417
<body>
1518

16-
<div x-data="{ sidebarOpen: false }">
19+
<div x-data="{ sidebarOpen: false }" x-cloak>
1720
<div class="flex min-h-screen">
1821

1922
@auth
@@ -66,4 +69,4 @@
6669

6770
<livewire:scripts />
6871
</body>
69-
</html>
72+
</html>

0 commit comments

Comments
 (0)