Level 104
You also uncommented the line?
import Echo from 'laravel-echo';
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
include this to blade template @vite(['resources/sass/app.scss', 'resources/js/app.js'])
run
npm install --save-dev laravel-echo pusher-js
composer require pusher/pusher-php-server
uncomment echo from bootstrap.js
and still error exist Echo is not defiend what should i do ?
Please or to participate in this conversation.