Update to Laravel 8

This commit is contained in:
Deon George
2021-06-28 11:06:44 +10:00
parent 84fa5f6546
commit d9c4aa5b92
30 changed files with 4604 additions and 5738 deletions

View File

@@ -1,4 +1,3 @@
window.$ = window.jQuery = require('jquery');
window._ = require('lodash');
/**
@@ -17,19 +16,13 @@ window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
* allows your team to easily build robust real-time web applications.
*/
/*
import Echo from 'laravel-echo';
// import Echo from 'laravel-echo';
window.Pusher = require('pusher-js');
// window.Pusher = require('pusher-js');
window.Echo = new Echo({
broadcaster: 'pusher',
key: process.env.MIX_PUSHER_APP_KEY,
wsHost: window.location.hostname,
wsPort: 6001,
disableStats: true,
encrypted: true,
});
*/
require('bootstrap');
// window.Echo = new Echo({
// broadcaster: 'pusher',
// key: process.env.MIX_PUSHER_APP_KEY,
// cluster: process.env.MIX_PUSHER_APP_CLUSTER,
// forceTLS: true
// });