Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

Laravel10, Interia, svelte setting shows warning

$
0
0

I'm new to svelte and Interia.I've setup an application with Laravel10,Interia and svelte.

app.ts goes like

import { createInertiaApp } from "@inertiajs/svelte";createInertiaApp({    resolve: (name) => {        const pages = import.meta.glob("./components/pages/**/*.svelte", {            eager: true,        });        return pages[`./components/pages/${name}.svelte`];    },    setup({ el, App, props }) {        console.log(el, App, props)        new App({ target: el, props });    },});

the application is working well. But it shows several warnings in console. Is it ignorable?

14:47:08.566 <App> was created with unknown prop 'initialPage' @inertiajs_svelte.js:6629:1514:47:08.566 <App> was created with unknown prop 'resolveComponent' @inertiajs_svelte.js:6629:1514:47:08.566 <Index> received an unexpected slot "default". index.mjs:2380:2014:47:08.566 <Index> was created with unknown prop 'errors' Index.svelte:79:92

warnings in browser console


Viewing all articles
Browse latest Browse all 1541

Trending Articles