Skip to content

Commit

Permalink
👍 CMS Echo
Browse files Browse the repository at this point in the history
  • Loading branch information
juzaweb committed Apr 30, 2024
1 parent d30bd90 commit 597b318
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions resources/assets/libs/libs.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
import $ from "jquery";
//import Echo from 'laravel-echo';

window.$ = window.jQuery = $;

window.Popper = require('popper.js').default;

import 'bootstrap';
import Chart from 'chart.js/auto';
window.Chart = Chart;

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

// const CMSEcho = new Echo({
// broadcaster: 'pusher',
// key: 'xxx',
// cluster: 'mt1',
// forceTLS: true,
// });

// const channel = CMSEcho.channel('notification');
// channel.listen('.new-notification', function (data) {
// alert(data?.message);
// });

0 comments on commit 597b318

Please sign in to comment.