diff --git a/packages/svelte-vscode/src/sveltekit/generateFiles/templates/layout.ts b/packages/svelte-vscode/src/sveltekit/generateFiles/templates/layout.ts index 2d610ad55..d078e334f 100644 --- a/packages/svelte-vscode/src/sveltekit/generateFiles/templates/layout.ts +++ b/packages/svelte-vscode/src/sveltekit/generateFiles/templates/layout.ts @@ -5,14 +5,19 @@ const defaultScriptTemplate = ` /** @type {import('./$types').LayoutData} */ export let data; + + `; const tsSv5ScriptTemplate = ` + +{@render children()} `; const tsScriptTemplate = ` @@ -21,13 +26,17 @@ const tsScriptTemplate = ` export let data: LayoutData; + + `; const jsSv5ScriptTemplate = ` + +{@render children()} `; const scriptTemplate: ReadonlyMap = new Map([