From fd0b2b93205de553330fbc7a3160c2d8a9c47da3 Mon Sep 17 00:00:00 2001 From: Carter Date: Mon, 21 Oct 2024 15:21:22 -0600 Subject: [PATCH] folderized app files --- .gitignore | 4 ++++ index.html | 2 +- src/{ => app}/App.css | 0 src/{ => app}/App.tsx | 2 +- src/{ => app}/index.css | 0 src/{ => app}/main.tsx | 0 6 files changed, 6 insertions(+), 2 deletions(-) rename src/{ => app}/App.css (100%) rename src/{ => app}/App.tsx (95%) rename src/{ => app}/index.css (100%) rename src/{ => app}/main.tsx (100%) diff --git a/.gitignore b/.gitignore index 4d29575..441b42b 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,7 @@ npm-debug.log* yarn-debug.log* yarn-error.log* + +# generated tsconfig files +tsconfig.app.tsbuildinfo +tsconfig.node.tsbuildinfo diff --git a/index.html b/index.html index e4b78ea..14eecfc 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,6 @@
- + diff --git a/src/App.css b/src/app/App.css similarity index 100% rename from src/App.css rename to src/app/App.css diff --git a/src/App.tsx b/src/app/App.tsx similarity index 95% rename from src/App.tsx rename to src/app/App.tsx index afe48ac..89e2902 100644 --- a/src/App.tsx +++ b/src/app/App.tsx @@ -1,5 +1,5 @@ import { useState } from 'react' -import reactLogo from './assets/react.svg' +import reactLogo from '../assets/react.svg' import viteLogo from '/vite.svg' import './App.css' diff --git a/src/index.css b/src/app/index.css similarity index 100% rename from src/index.css rename to src/app/index.css diff --git a/src/main.tsx b/src/app/main.tsx similarity index 100% rename from src/main.tsx rename to src/app/main.tsx