diff options
author | Matt Strapp <matt@mattstrapp.net> | 2023-10-20 14:08:54 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2023-10-20 14:08:54 -0500 |
commit | 85b69ea89fbd08c3019f32b57a284337b6555cad (patch) | |
tree | 03674ba1400b42d0ce3bde4f6a058503d8a5647b /app | |
parent | Bump svelte from 4.2.1 to 4.2.2 (diff) | |
download | trinkets-85b69ea89fbd08c3019f32b57a284337b6555cad.tar trinkets-85b69ea89fbd08c3019f32b57a284337b6555cad.tar.gz trinkets-85b69ea89fbd08c3019f32b57a284337b6555cad.tar.bz2 trinkets-85b69ea89fbd08c3019f32b57a284337b6555cad.tar.lz trinkets-85b69ea89fbd08c3019f32b57a284337b6555cad.tar.xz trinkets-85b69ea89fbd08c3019f32b57a284337b6555cad.tar.zst trinkets-85b69ea89fbd08c3019f32b57a284337b6555cad.zip |
uh
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | app/.gitignore | 3 | ||||
-rw-r--r-- | app/src/lib/components/Navigation.svelte (renamed from app/src/lib/svelte/Navigation.svelte) | 0 | ||||
-rw-r--r-- | app/src/lib/components/ReloadPrompt.svelte (renamed from app/src/lib/svelte/ReloadPrompt.svelte) | 0 | ||||
-rw-r--r-- | app/src/routes/+layout.svelte | 8 | ||||
-rw-r--r-- | app/svelte.config.js | 3 |
5 files changed, 6 insertions, 8 deletions
diff --git a/app/.gitignore b/app/.gitignore index ef995c0..b8f5758 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -3,9 +3,10 @@ node_modules /build /.svelte-kit /package -/dev-dist .env .env.* !.env.example vite.config.js.timestamp-* vite.config.ts.timestamp-* + +/dev-dist
\ No newline at end of file diff --git a/app/src/lib/svelte/Navigation.svelte b/app/src/lib/components/Navigation.svelte index 2e5ba98..2e5ba98 100644 --- a/app/src/lib/svelte/Navigation.svelte +++ b/app/src/lib/components/Navigation.svelte diff --git a/app/src/lib/svelte/ReloadPrompt.svelte b/app/src/lib/components/ReloadPrompt.svelte index e6effbb..e6effbb 100644 --- a/app/src/lib/svelte/ReloadPrompt.svelte +++ b/app/src/lib/components/ReloadPrompt.svelte diff --git a/app/src/routes/+layout.svelte b/app/src/routes/+layout.svelte index 034ac0e..52385fc 100644 --- a/app/src/routes/+layout.svelte +++ b/app/src/routes/+layout.svelte @@ -1,5 +1,5 @@ <script lang="ts"> - import Navigation from '$lib/svelte/Navigation.svelte' + import Navigation from '$lib/components/Navigation.svelte' import Icon from '@iconify/svelte' import menuIcon from '@iconify/icons-carbon/menu' import { @@ -28,12 +28,12 @@ }) } - $: webManifestLink = pwaInfo ? pwaInfo.webManifest.linkTag : '' + $: webManifest = pwaInfo ? pwaInfo.webManifest.linkTag : '' </script> <svelte:head> <!-- eslint-disable-next-line svelte/no-at-html-tags VitePWA can probably be trusted --> - {@html webManifestLink} + {@html webManifest} </svelte:head> <Drawer> @@ -64,6 +64,6 @@ <slot /> </AppShell> -{#await import('$lib/svelte/ReloadPrompt.svelte') then { default: ReloadPrompt }} +{#await import('$lib/components/ReloadPrompt.svelte') then { default: ReloadPrompt }} <ReloadPrompt /> {/await} diff --git a/app/svelte.config.js b/app/svelte.config.js index 722e99b..9484cb8 100644 --- a/app/svelte.config.js +++ b/app/svelte.config.js @@ -9,9 +9,6 @@ const config = { preprocess: [vitePreprocess()], kit: { - // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. - // If your environment is not supported or you settled on a specific environment, switch out the adapter. - // See https://kit.svelte.dev/docs/adapters for more information about adapters. adapter: adapter(), }, } |