From 23e4538b093a50376636a0b699b379cb5fcd3c13 Mon Sep 17 00:00:00 2001 From: Guillaume Schurck <g.schurck@gmail.com> Date: Sat, 24 Sep 2022 20:16:55 +0200 Subject: [PATCH] cleaning --- sg-frontend/index.html | 20 ++++++++++---------- sg-frontend/src/App.svelte | 1 - sg-frontend/src/lib/Counter.svelte | 10 ---------- 3 files changed, 10 insertions(+), 21 deletions(-) delete mode 100644 sg-frontend/src/lib/Counter.svelte diff --git a/sg-frontend/index.html b/sg-frontend/index.html index b5b1252..fbcad32 100644 --- a/sg-frontend/index.html +++ b/sg-frontend/index.html @@ -1,13 +1,13 @@ <!DOCTYPE html> <html lang="en"> - <head> - <meta charset="UTF-8" /> - <link rel="icon" type="image/svg+xml" href="/vite.svg" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <title>Vite + Svelte + TS</title> - </head> - <body> - <div id="app"></div> - <script type="module" src="/src/main.ts"></script> - </body> + <head> + <meta charset="UTF-8" /> + <link rel="icon" type="image/svg+xml" href="/vite.svg" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Software Graph</title> + </head> + <body> + <div id="app"></div> + <script type="module" src="/src/main.ts"></script> + </body> </html> diff --git a/sg-frontend/src/App.svelte b/sg-frontend/src/App.svelte index 0c491b9..9b40a6f 100644 --- a/sg-frontend/src/App.svelte +++ b/sg-frontend/src/App.svelte @@ -1,6 +1,5 @@ <script lang="ts"> import SoftwareMerger from "./components/SoftwareMerger.svelte"; - import Counter from "./lib/Counter.svelte"; </script> <main> diff --git a/sg-frontend/src/lib/Counter.svelte b/sg-frontend/src/lib/Counter.svelte deleted file mode 100644 index 979b4df..0000000 --- a/sg-frontend/src/lib/Counter.svelte +++ /dev/null @@ -1,10 +0,0 @@ -<script lang="ts"> - let count: number = 0 - const increment = () => { - count += 1 - } -</script> - -<button on:click={increment}> - count is {count} -</button> -- GitLab