diff options
Diffstat (limited to 'app')
-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(), }, } |