Skip to content

Commit f866191

Browse files
authored
Added x-cloak to remove the "blip"
Removes the "blip" you see when page reloads.
1 parent 59a4b5a commit f866191

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)