This commit is contained in:
Saeed Vaziry
2023-07-02 12:47:50 +02:00
commit 5c72f12490
825 changed files with 41659 additions and 0 deletions

24
resources/js/app.js Normal file
View File

@ -0,0 +1,24 @@
import './bootstrap';
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.Alpine = Alpine;
Alpine.start();