Remove axios and enable ignore-scripts (#6778)
* Remove axios and enable ignore-scripts * Removing empty comment * Apply fixes from StyleCI * Remove bootstrap.js file and add empty comment on app.js --------- Co-authored-by: StyleCI Bot <bot@styleci.io> Co-authored-by: Pushpak Chhajed <pushpak1300@gmail.com>
This commit is contained in:
@@ -8,7 +8,6 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/vite": "^4.0.0",
|
"@tailwindcss/vite": "^4.0.0",
|
||||||
"axios": ">=1.11.0 <=1.14.0",
|
|
||||||
"concurrently": "^9.0.1",
|
"concurrently": "^9.0.1",
|
||||||
"laravel-vite-plugin": "^3.0.0",
|
"laravel-vite-plugin": "^3.0.0",
|
||||||
"tailwindcss": "^4.0.0",
|
"tailwindcss": "^4.0.0",
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
import './bootstrap';
|
//
|
||||||
|
|||||||
4
resources/js/bootstrap.js
vendored
4
resources/js/bootstrap.js
vendored
@@ -1,4 +0,0 @@
|
|||||||
import axios from 'axios';
|
|
||||||
window.axios = axios;
|
|
||||||
|
|
||||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
|
||||||
Reference in New Issue
Block a user