diff --git a/frontend/package.json b/frontend/package.json index a37ab5f..b85d582 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -19,6 +19,7 @@ "svelte": "^3.49.0", "svelte-check": "^2.8.0", "svelte-preprocess": "^4.10.7", + "svelte-routing": "^2.13.0", "tailwindcss": "^3.4.9", "tslib": "^2.4.0", "typescript": "^4.6.4", diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index 17bcd51..b372423 100755 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -7af4c5f1467cf72f836d6b1c3881a5a4 \ No newline at end of file +a5a8c3695f34d6c9bafb2ee7f70bf99a \ No newline at end of file diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index eb30d8a..5771e9e 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -35,6 +35,9 @@ importers: svelte-preprocess: specifier: ^4.10.7 version: 4.10.7(postcss-load-config@4.0.2(postcss@8.5.1))(postcss@8.5.1)(sass@1.83.4)(svelte@3.59.2)(typescript@4.9.5) + svelte-routing: + specifier: ^2.13.0 + version: 2.13.0 tailwindcss: specifier: ^3.4.9 version: 3.4.17 @@ -979,6 +982,9 @@ packages: typescript: optional: true + svelte-routing@2.13.0: + resolution: {integrity: sha512-/NTxqTwLc7Dq306hARJrH2HLXOBtKd7hu8nxgoFDlK0AC4SOKnzisiX/9m8Uksei1QAWtlAEdF91YphNM8iDMg==} + svelte@3.59.2: resolution: {integrity: sha512-vzSyuGr3eEoAtT/A6bmajosJZIUWySzY2CzB3w2pgPvnkUjGqlDnsNnA0PMO+mMAhuyMul6C2uuZzY6ELSkzyA==} engines: {node: '>= 8'} @@ -1928,6 +1934,8 @@ snapshots: sass: 1.83.4 typescript: 4.9.5 + svelte-routing@2.13.0: {} + svelte@3.59.2: {} svg.draggable.js@2.2.2: diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index 18f5413..f0af3f7 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -1,47 +1,10 @@
@@ -51,38 +14,9 @@ - -
-
- - + +
+
-
- -
- - - - ID - Name - - Delete - - - {#each thingsList as t} - - - {t.ID} - - - - {t.Name} - - - - - - {/each} - -
+
diff --git a/frontend/src/routes/Home.svelte b/frontend/src/routes/Home.svelte new file mode 100644 index 0000000..1fb6462 --- /dev/null +++ b/frontend/src/routes/Home.svelte @@ -0,0 +1,75 @@ + + +
+
+ + +
+
+ +
+
+ + + ID + Name + + Delete + + + {#each thingsList as t} + + + {t.ID} + + + + {t.Name} + + + + + + {/each} + +