Total Complexity | 0 |
Complexity/F | 0 |
Lines of Code | 32 |
Function Count | 0 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | |||
2 | window._ = require('lodash'); |
||
3 | |||
4 | /** |
||
5 | * We'll load jQuery and the Bootstrap jQuery plugin which provides support |
||
6 | * for JavaScript based Bootstrap features such as modals and tabs. This |
||
7 | * code may be modified to fit the specific needs of your application. |
||
8 | */ |
||
9 | |||
10 | window.$ = window.jQuery = require('jquery'); |
||
11 | |||
12 | require('bootstrap-sass'); |
||
13 | |||
14 | /** |
||
15 | * Vue is a modern JavaScript library for building interactive web interfaces |
||
16 | * using reactive data binding and reusable components. Vue's API is clean |
||
17 | * and simple, leaving you to focus on building your next great project. |
||
18 | */ |
||
19 | |||
20 | window.Vue = require('vue'); |
||
21 | |||
22 | /** |
||
23 | * We'll load the axios HTTP library which allows us to easily issue requests |
||
24 | * to our Laravel back-end. This library automatically handles sending the |
||
25 | * CSRF token as a header based on the value of the "XSRF" token cookie. |
||
26 | */ |
||
27 | |||
28 | window.axios = require('axios'); |
||
29 | |||
30 | window.axios.defaults.headers.common = { |
||
31 | 'X-CSRF-TOKEN': window.Laravel.csrfToken, |
||
32 | 'X-Requested-With': 'XMLHttpRequest' |
||
33 | }; |
||
34 | |||
47 |