Render the forum shell, resources and contacts on the server
This commit is contained in:
parent
a7b5d8f223
commit
40e0be35d9
16 changed files with 259 additions and 30 deletions
8
src/app.d.ts
vendored
8
src/app.d.ts
vendored
|
|
@ -1,10 +1,16 @@
|
|||
// See https://svelte.dev/docs/kit/types#app.d.ts
|
||||
// for information about these interfaces
|
||||
import type { ForumShell, Profiles } from "$lib/forum/snapshot";
|
||||
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
// interface Locals {}
|
||||
// interface PageData {}
|
||||
// Server-rendered snapshots; null in the browser and in client-only builds
|
||||
interface PageData {
|
||||
shell?: ForumShell | null;
|
||||
profiles?: Profiles | null;
|
||||
}
|
||||
// interface PageState {}
|
||||
// interface Platform {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue