22 lines
841 B
PHP
22 lines
841 B
PHP
<!-- REQUIRED JS SCRIPTS -->
|
|
|
|
<!-- JQuery and bootstrap are required by Laravel 5.3 in resources/assets/js/bootstrap.js-->
|
|
<!-- Laravel App -->
|
|
<script src="{{ url(mix('/js/app.js')) }}" type="text/javascript"></script>
|
|
|
|
<!-- Our our CSRF token to each interaction -->
|
|
{{-- @todo Test that we are validating this, also axios should be doing this for us? --}}
|
|
<script type="text/javascript">
|
|
$.ajaxSetup({
|
|
headers: {
|
|
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<!-- Optionally, you can add Slimscroll and FastClick plugins.
|
|
Both of these plugins are recommended to enhance the
|
|
user experience. Slimscroll is required when using the
|
|
fixed layout. -->
|
|
@js('/site/js/jquery.slimscroll.min.js','jq.slimscroll')
|
|
@js('/site/js/fastclick.min.js','jq.fastclick') |