From aab0f7ea4680f377c610066bd0e99011eed8b506 Mon Sep 17 00:00:00 2001 From: undergroundwires Date: Tue, 24 Oct 2023 01:58:50 +0200 Subject: [PATCH] Remove duplicated `index.html` file This commit removes the redundant `index.html` file from the `src/presentation/public` directory. This file was initially created there with Vue CLI before migration to Vite. The existence of this file is now unnecessary as Vite requires `index.html` to be at the project root. The deletion of this duplicate file simplifies the project and eliminates potential confusion regarding the entry point of the application. Changes: - Update `docs/presentation.md` to clarify the location of `index.html`. - Remove the `src/presentation/public/index.html` file, which was duplicate of the project root `index.html`. These changes ensure compliance with Vite's configuration and project structure clarity. --- docs/presentation.md | 5 +++-- src/presentation/public/index.html | 23 ----------------------- 2 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 src/presentation/public/index.html diff --git a/docs/presentation.md b/docs/presentation.md index 0f398edd..1ace9c2e 100644 --- a/docs/presentation.md +++ b/docs/presentation.md @@ -11,6 +11,8 @@ The presentation layer uses an event-driven architecture for bidirectional react ## Structure - [`/src/` **`presentation/`**](./../src/presentation/): Contains Vue and Electron code. + - [**`main.ts`**](./../src/presentation/main.ts): Starts Vue app. + - [**`index.html`**](./../src/presentation/index.html): The `index.html` entry file, located at the root of the project as required by Vite - [**`bootstrapping/`**](./../src/presentation/bootstrapping/): Registers Vue components and plugins. - [**`components/`**](./../src/presentation/components/): Contains Vue components and helpers. - [**`Shared/`**](./../src/presentation/components/Shared): Contains shared Vue components and helpers. @@ -20,8 +22,7 @@ The presentation layer uses an event-driven architecture for bidirectional react - [**`fonts/`**](./../src/presentation/assets/fonts/): Contains fonts. - [**`styles/`**](./../src/presentation/assets/styles/): Contains shared styles. - [**`components/`**](./../src/presentation/assets/styles/components): Contains styles coupled to Vue components. - - [**`main.scss`**](./../src/presentation/assets/styles/main.scss): Main Sass file, imported by other components as single entrypoint. - - [**`main.ts`**](./../src/presentation/main.ts): Starts Vue app. + - [**`main.scss`**](./../src/presentation/assets/styles/main.scss): Main Sass file, imported by other components as single entrypoint.. - [**`electron/`**](./../src/presentation/electron/): Contains Electron code. - [`/main/` **`index.ts`**](./../src/presentation/main.ts): Main entry for Electron, managing application windows and lifecycle events. - [`/preload/` **`index.ts`**](./../src/presentation/main.ts): Script executed before the renderer, securing Node.js features for renderer use. diff --git a/src/presentation/public/index.html b/src/presentation/public/index.html deleted file mode 100644 index bd6eee13..00000000 --- a/src/presentation/public/index.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - -