Update leenooks/laravel and now using @js @css shortcuts

This commit is contained in:
Deon George
2021-12-20 14:08:00 +11:00
parent b7b6a575bc
commit 0aa7ff3b2c
30 changed files with 922 additions and 1778 deletions

View File

@@ -263,8 +263,9 @@ DO NOT request making changes to an active service here, it will not be processe
@endsection
@section('page-scripts')
@js('plugin/jqBootstrapValidation/jqBootstrapValidation.js','jq-validation','jquery')
@js('//code.jquery.com/ui/1.12.1/jquery-ui.js','jquery-ui-js','jqery')
<!-- @todo change to blade service provider -->
@themejs('plugin/jqBootstrapValidation/jqBootstrapValidation.js','jq-validation','jquery')
@themejs('//code.jquery.com/ui/1.12.1/jquery-ui.js','jquery-ui-js','jqery')
<script>
$(function () { $("input,select,textarea").not("[type=submit]").jqBootstrapValidation(); } );

View File

@@ -49,7 +49,7 @@
</div>
</div>
@js('js/layout.js','layout','jquery')
@themejs('js/layout.js','layout','jquery')
@endsection
@section('page-scripts')

View File

@@ -30,8 +30,9 @@
@section('page-scripts')
<!-- END SLIDER -->
@css('/site/js/jquery/plugins/owl.carousel/2.0.0/css/owl.carousel.css')
@js('/site/js/jquery/plugins/owl.carousel/2.0.0/js/owl.carousel.min.js','jq-owl-carousel','jquery')
<!-- @todo change to Blade Service Provider -->
@themecss('/site/js/jquery/plugins/owl.carousel/2.0.0/css/owl.carousel.css')
@themejs('/site/js/jquery/plugins/owl.carousel/2.0.0/js/owl.carousel.min.js','jq-owl-carousel','jquery')
<script type="text/javascript">
jQuery(document).ready(function() {