TitasGailius / laravel-moonlight

Batteries included Laravel preset based on InertiaJS, VueJS and TailwindCSS stack.
145 stars 10 forks source link

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

Closed OGhawsi closed 1 year ago

OGhawsi commented 3 years ago

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.

SerjoA commented 3 years ago

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

OGhawsi commented 3 years ago

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.