=> {
if (!(await find_cli('svelte-kit'))) {
- return;
+ throw new Task_Error('failed to find svelte-kit CLI - do you need to run `npm i`?');
}
const result = await spawn_cli('svelte-kit', ['sync']);
if (!result?.ok) {
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index f71eecf3d4..2a3a4e5cac 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -1,12 +1,15 @@
@@ -14,5 +17,5 @@
-
+ {@render children()}
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index ce35d5db1f..954ae23d57 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -19,7 +19,7 @@
gro
-
+
-
-
- this website is a work in progress!
-
- for now, docs are in
+
+
{#if show_detail}
@@ -52,11 +50,10 @@
{/if}
-
-
+
+ {#snippet logo_header()}about{/snippet}
+
@@ -71,7 +68,6 @@
}
section {
margin-top: var(--space_xl3);
- margin-bottom: var(--space_xl3);
display: flex;
flex-direction: column;
align-items: center;
diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte
index 77da7dfb79..63b5ef1e24 100644
--- a/src/routes/about/+page.svelte
+++ b/src/routes/about/+page.svelte
@@ -26,8 +26,10 @@
diff --git a/svelte.config.js b/svelte.config.js
index 9eac2db9a8..83d5bf1d36 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -4,8 +4,9 @@ import adapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
export default {
preprocess: [vitePreprocess()],
- compilerOptions: {immutable: true},
- vitePlugin: {inspector: true}, // docs: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/inspector.md
+ // TODO ideally this would use the default but it conflicts with ctrl+shift+c in Chrome,
+ // but it's strange to me that I'm resetting it to what the Mac default is
+ vitePlugin: {inspector: {toggleKeyCombo: 'meta-shift'}}, // docs: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/inspector.md
kit: {
adapter: adapter(),
alias: {$routes: 'src/routes', $fixtures: 'src/fixtures'},
diff --git a/tsconfig.json b/tsconfig.json
index 5d2a268a56..97815ffe07 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -2,8 +2,6 @@
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"types": ["@sveltejs/kit"],
- "moduleResolution": "bundler",
- "noEmit": true,
"strict": true,
"useUnknownInCatchVariables": false,
"exactOptionalPropertyTypes": false,