From 1d99742349f82b233510a5575c06feb078c71572 Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Sun, 17 Oct 2021 17:48:59 +0800 Subject: [PATCH] files reorganization --- src/App.svelte | 4 ++-- src/Input.svelte | 20 -------------------- src/{ => widgets}/Card.svelte | 0 src/{Myinput.svelte => widgets/Input.svelte} | 2 +- 4 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 src/Input.svelte rename src/{ => widgets}/Card.svelte (100%) rename src/{Myinput.svelte => widgets/Input.svelte} (96%) diff --git a/src/App.svelte b/src/App.svelte index 5aeb321..39b6445 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -10,9 +10,9 @@ import { Route, router, active } from "tinro"; router.mode.hash(); // enables hash navigation method //router.mode.memory(); // enables in-memory navigation method - import Card from "./Card.svelte"; + import Card from "./widgets/Card.svelte"; import Input from "./Input.svelte"; - import Myinput from "./Myinput.svelte"; + import Myinput from "./widgets/Input.svelte"; onMount(async () => { console.log("mounted"); diff --git a/src/Input.svelte b/src/Input.svelte deleted file mode 100644 index 07404be..0000000 --- a/src/Input.svelte +++ /dev/null @@ -1,20 +0,0 @@ - - - - -