mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 06:26:16 +00:00
init
This commit is contained in:
24
resources/js/app.js
Normal file
24
resources/js/app.js
Normal 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();
|
||||
|
Reference in New Issue
Block a user