inertiajs / inertia

Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
https://inertiajs.com
MIT License
6.3k stars 423 forks source link

<Home> received an unexpected slot "default" #1785

Closed harryqt closed 2 weeks ago

harryqt commented 8 months ago

Version:

Describe the problem:

First reported on #1436 but got closed because of cleanup process.

<App> was created with unknown prop 'initialPage' [@inertiajs_svelte.js:6866:15](http://[::1]:5173/node_modules/.vite/deps/@inertiajs_svelte.js?v=965059e3)
<App> was created with unknown prop 'resolveComponent' [@inertiajs_svelte.js:6866:15](http://[::1]:5173/node_modules/.vite/deps/@inertiajs_svelte.js?v=965059e3)
<Home> received an unexpected slot "default". [dev.js:228:11](http://[::1]:5173/node_modules/svelte/src/runtime/internal/dev.js)
<Home> was created with unknown prop 'errors' [Home.svelte:60:92](http://[::1]:5173/resources/js/Pages/Home.svelte)