refactoring

This commit is contained in:
Saeed Vaziry
2023-08-04 18:28:04 +02:00
parent 8444323cf4
commit 643318fcfc
349 changed files with 3189 additions and 2729 deletions

View File

@ -1,22 +1,22 @@
import './bootstrap';
import Echo from "laravel-echo"
import Pusher from "pusher-js"
// import Echo from "laravel-echo"
// import Pusher from "pusher-js"
import Alpine from 'alpinejs';
import Clipboard from "@ryangjchandler/alpine-clipboard";
Alpine.plugin(Clipboard)
window.Echo = new Echo({
broadcaster: 'pusher',
key: 'app-key',
wsHost: 'localhost',
wsPort: 6001,
cluster: '',
forceTLS: false,
disableStats: true,
});
window.Pusher = Pusher;
// window.Echo = new Echo({
// broadcaster: 'pusher',
// key: 'app-key',
// wsHost: 'localhost',
// wsPort: 6001,
// cluster: '',
// forceTLS: false,
// disableStats: true,
// });
//
// window.Pusher = Pusher;
window.Alpine = Alpine;