Update to sveltekit 1.0

This commit is contained in:
2022-12-27 14:10:48 +00:00
parent 03914855da
commit 4df0eb499e
11 changed files with 1354 additions and 248 deletions

9
src/app.d.ts vendored Normal file
View File

@ -0,0 +1,9 @@
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
// and what to do when importing types
declare namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface Platform {}
}

View File

@ -5,15 +5,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#333333">
<meta name="description" content="Quartznet is a small team developing games, tools and more!">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/global.css">
<!-- <link rel="manifest" href="manifest.json" crossorigin="use-credentials"> -->
<link rel="icon" type="image/png" href="/img/favicon.ico">
%sveltekit.head%
</head>
<body>
<body data-sveltekit-preload-data="hover">
<div id="svelte">%sveltekit.body%</div>
</body>
</html>

1
src/routes/+layout.js Normal file
View File

@ -0,0 +1 @@
export const prerender = true;

View File

@ -1,5 +1,5 @@
<script>
import Banner from '../components/Banner.svelte'
import Banner from '../../components/Banner.svelte'
</script>
<svelte:head>