Update to sveltekit 1.0
This commit is contained in:
9
src/app.d.ts
vendored
Normal file
9
src/app.d.ts
vendored
Normal 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 {}
|
||||
}
|
@ -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
1
src/routes/+layout.js
Normal file
@ -0,0 +1 @@
|
||||
export const prerender = true;
|
@ -1,5 +1,5 @@
|
||||
<script>
|
||||
import Banner from '../components/Banner.svelte'
|
||||
import Banner from '../../components/Banner.svelte'
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
Reference in New Issue
Block a user