Revert "Replace Mix with Vite"

This commit is contained in:
KodeStar
2024-02-17 21:02:45 +00:00
committed by GitHub
parent 3a509fca47
commit 36d1d55934
22 changed files with 75 additions and 121 deletions

View File

@@ -1,6 +1,5 @@
import _ from 'lodash';
window._ = _;
window._ = require('lodash');
/**
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
@@ -20,8 +19,7 @@ try {
* CSRF token as a header based on the value of the "XSRF" token cookie.
*/
import axios from 'axios';
window.axios = axios;
window.axios = require('axios');
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';