2018-04-23 10:24:26 +00:00
|
|
|
<!-- REQUIRED JS SCRIPTS -->
|
2019-02-08 12:42:58 +00:00
|
|
|
<!-- JQuery and bootstrap are required by Laravel 5.7 in resources/js/bootstrap.js-->
|
2018-04-23 10:24:26 +00:00
|
|
|
<!-- Laravel App -->
|
2018-05-24 02:28:30 +00:00
|
|
|
<script src="{{ url(mix('/js/app.js')) }}" type="text/javascript"></script>
|
2019-02-08 12:42:58 +00:00
|
|
|
<!-- AdminLTE -->
|
|
|
|
<script src="/js/adminlte.min.js"></script>
|
2018-04-23 10:24:26 +00:00
|
|
|
|
2018-06-05 13:39:47 +00:00
|
|
|
<!-- 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')
|
|
|
|
}
|
|
|
|
});
|
2019-02-08 12:42:58 +00:00
|
|
|
</script>
|