UNPKG

sv

Version:

A CLI for creating and updating SvelteKit projects

18 lines 956 B
[ { "name": "src/app.d.ts", "contents": "// See https://svelte.dev/docs/kit/types#app.d.ts\n// for information about these interfaces\ndeclare global {\n\tnamespace App {\n\t\t// interface Error {}\n\t\t// interface Locals {}\n\t\t// interface PageData {}\n\t\t// interface PageState {}\n\t\t// interface Platform {}\n\t}\n}\n\nexport {};\n" }, { "name": "src/lib/index.ts", "contents": "// place files you want to import through the `$lib` alias in this folder.\n" }, { "name": "src/routes/+layout.svelte", "contents": "<script lang=\"ts\">\n\timport favicon from '$lib/assets/favicon.svg';\n\n\tlet { children } = $props();\n</script>\n\n<svelte:head>\n\t<link rel=\"icon\" href={favicon} />\n</svelte:head>\n\n{@render children?.()}\n" }, { "name": "src/routes/+page.svelte", "contents": "<h1>Welcome to SvelteKit</h1>\n<p>Visit <a href=\"https://svelte.dev/docs/kit\">svelte.dev/docs/kit</a> to read the documentation</p>\n" } ]