From facb24fbd3db556f33ae570eadf4daefa12c1ae5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 1 Oct 2025 09:19:53 +0000 Subject: [PATCH 1/2] Initial plan From 9d858853045824ddf377029dc52bd0df48cbd41a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 1 Oct 2025 09:28:32 +0000 Subject: [PATCH 2/2] Fix Vite dev server accessibility on port 5173 Co-authored-by: Sau1707 <83017316+Sau1707@users.noreply.github.com> --- README.md | 6 ++- index.html | 111 +++++++++++++++++++++++++++++++++++++++++++++++++ vite.config.js | 7 ++++ 3 files changed, 123 insertions(+), 1 deletion(-) create mode 100644 index.html diff --git a/README.md b/README.md index 5ea2d5b..b1ee892 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,11 @@ Start the development server with HMR: npm run dev ``` -This will create a `dist` folder with the extension build. To load it in Chrome: +The development server will start on `http://localhost:5173/`. You can: +- View the dev server dashboard at `http://localhost:5173/` +- Preview individual components like `http://localhost:5173/src/popup/popup.html` + +This will also create a `dist` folder with the extension build. To load it in Chrome: 1. Open Chrome and navigate to `chrome://extensions/` 2. Enable "Developer mode" (toggle in the top right) diff --git a/index.html b/index.html new file mode 100644 index 0000000..599eb6b --- /dev/null +++ b/index.html @@ -0,0 +1,111 @@ + + +
+ + +Chrome Extension Development Server
+ +The Vite development server is running successfully! You can access the extension components below:
+To use this extension in Chrome:
+chrome://extensions/dist folder from this projectChanges to your code will automatically update in the extension with Hot Module Replacement (HMR)!
+