This commit is contained in:
Will Greenberg
2024-10-23 15:31:32 -07:00
parent a269a45244
commit fa96520fe5
18 changed files with 2278 additions and 3524 deletions

3
bin/web/src/app.css Normal file
View File

@@ -0,0 +1,3 @@
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities"

View File

@@ -1,4 +1,4 @@
// See https://kit.svelte.dev/docs/types#app
// See https://svelte.dev/docs/kit/types#app
// for information about these interfaces
declare global {
namespace App {

View File

@@ -0,0 +1,6 @@
<script lang="ts">
import '../app.css';
let { children } = $props();
</script>
{@render children()}

View File

@@ -1 +0,0 @@
export const ssr = false;

View File

@@ -1,2 +1,2 @@
<h1>Welcome to SvelteKit</h1>
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
<p>Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p>

View File

@@ -1,18 +0,0 @@
import { base } from '$app/paths';
export async function load({ fetch }) {
const url = base + "/hello?name=PageLoadFunction";
const opts = {
method: "get",
headers: { "Content-Type": "application/json" }
};
const response = await fetch(url, opts);
const hello = await response.text();
console.log("Hello:", hello);
return {
hello
};
}