We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a98c19 commit 37a6cd1Copy full SHA for 37a6cd1
packages/laravel-echo/src/echo.ts
@@ -182,7 +182,7 @@ export default class Echo<T extends keyof Broadcaster> {
182
registerInterceptors(): void {
183
// TODO: This package is deprecated and we should remove it in a future version.
184
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
185
- if (Vue?.http) {
+ if (typeof Vue !== "undefined" && Vue?.http) {
186
this.registerVueRequestInterceptor();
187
}
188
0 commit comments