Moved page-scripts to render after main scripts
This commit is contained in:
parent
1bfd5609a5
commit
8bafc735c4
@ -36,6 +36,9 @@
|
|||||||
@include('adminlte::layouts.partials.scripts')
|
@include('adminlte::layouts.partials.scripts')
|
||||||
{{-- Scripts --}}
|
{{-- Scripts --}}
|
||||||
{!! Asset::scripts() !!}
|
{!! Asset::scripts() !!}
|
||||||
|
|
||||||
|
@yield('page-scripts')
|
||||||
@show
|
@show
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -4,7 +4,6 @@
|
|||||||
<!-- Laravel App -->
|
<!-- Laravel App -->
|
||||||
<script src="{{ url(mix('/js/app.js')) }}" type="text/javascript"></script>
|
<script src="{{ url(mix('/js/app.js')) }}" type="text/javascript"></script>
|
||||||
|
|
||||||
@yield('page-scripts')
|
|
||||||
<!-- Optionally, you can add Slimscroll and FastClick plugins.
|
<!-- Optionally, you can add Slimscroll and FastClick plugins.
|
||||||
Both of these plugins are recommended to enhance the
|
Both of these plugins are recommended to enhance the
|
||||||
user experience. Slimscroll is required when using the
|
user experience. Slimscroll is required when using the
|
||||||
|
Loading…
Reference in New Issue
Block a user