Skip to content

Commit 8d630bc

Browse files
author
github-actions
committed
Merge pull request #494 from hydephp/update-hydefront
Add x-cloak as inline styles to prevent Alpine.js flashes hydephp/develop@0f1f28f
1 parent cb4f6f3 commit 8d630bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resources/views/layouts/styles.blade.php

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
{{-- Prevent Alpine.js flashes --}}
2+
<style>[x-cloak] {display: none!important}</style>
3+
14
{{-- The compiled Tailwind/App styles --}}
25
@if(config('hyde.load_app_styles_from_cdn', false))
36
<link rel="stylesheet" href="{{ Asset::cdnLink('app.css') }}">

0 commit comments

Comments
 (0)