laravel-moonlight icon indicating copy to clipboard operation
laravel-moonlight copied to clipboard

Uncaught ( in promise ) TypeError: n.swapComponent is not a function at app.js

Open OGhawsi opened this issue 3 years ago • 2 comments

This is a great package, I reall appreciate the work.

Fresh laravel 8 installation, and laravel moonlight installation throws this error in the console. Uncaught ( in promise ) TypeError: n.swapComponent is not a function at app.js

App is compiled successfully with no errors.

Thanks in advance.

OGhawsi avatar May 03 '21 07:05 OGhawsi

i think i had the same error with vue3 and inertia and i fixed it with older inertia version and vue2

SerjoA avatar May 04 '21 07:05 SerjoA

The whole point of this package is to make the developer life easier by providing vue, tailwind and innertia. If we are forced to set up things manually then this package won't be much of a help. And I hope this issue is resolved.

OGhawsi avatar May 04 '21 10:05 OGhawsi