PHP Classes

File: resources/js/bootstrap.js

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin  >  mtube  >  resources/js/bootstrap.js  >  Download  
File: resources/js/bootstrap.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: mtube
Application to share videos between users
Author: By
Last change:
Date: 4 months ago
Size: 517 bytes
 

Contents

Class file image Download
import 'alpinejs';

/**
 * Echo exposes an expressive API for subscribing to channels and listening
 * for events that are broadcast by Laravel. Echo and event broadcasting
 * allows your team to easily build robust real-time web applications.
 */

import Echo from 'laravel-echo'

window.Pusher = require('pusher-js');

window.Echo = new Echo({
    broadcaster: 'pusher',
    key: process.env.MIX_PUSHER_APP_KEY,
    wsHost: window.location.hostname,
    wsPort: 6001,
    wssPort: 6001,
    disableStats: true,
});
For more information send a message to info at phpclasses dot org.