移除 alpinejs 控制台警告

This commit is contained in:
Wisp X 2022-04-12 14:37:23 +08:00
parent 52f9c0cbe8
commit 5bba6d0d52
5 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,7 @@
@import '~toastr';
[x-cloak] { display: none !important; }
.scrollbar-none::-webkit-scrollbar {
display: none;
}

View File

@ -17,9 +17,6 @@
<!-- Styles -->
<link rel="stylesheet" href="{{ asset('css/common.css') }}">
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}"></script>
</head>
<body class="font-sans antialiased overflow-hidden">
<div class="min-h-screen bg-gray-100" x-data x-cloak>
@ -46,6 +43,8 @@
</x-container>
</div>
</body>
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}"></script>
@include('common.notice')
<script>
// 开关组件默认值

View File

@ -17,15 +17,14 @@
<!-- Styles -->
<link rel="stylesheet" href="{{ asset('css/common.css') }}">
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}"></script>
</head>
<body class="font-sans antialiased">
<div class="min-h-screen text-gray-900 bg-gray-100">
{{ $slot }}
</div>
</body>
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}"></script>
@if(file_exists(public_path('js/custom.js')))
<script src="{{ asset('js/custom.js') }}"></script>
@endif