From 9fe48a569292b477513d727e039cdfd441662ab4 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Mon, 11 May 2026 01:06:13 +0545 Subject: [PATCH] feat(src/djinit/templates/project/frontend): use .jsx entry point in frontend template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The templates now reference a React entry script; switching from .js to .jsx ensures the compiled asset is correctly loaded and improves template fidelity, preventing missing script errors. Enhancements - Updated index.html‑tpl to reference `/src/main.jsx` instead of `/src/main.js` - Normalized line endings for both index‑vue.html‑tpl and index.html‑tpl --- src/djinit/templates/project/frontend/index-vue.html-tpl | 2 +- src/djinit/templates/project/frontend/index.html-tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/djinit/templates/project/frontend/index-vue.html-tpl b/src/djinit/templates/project/frontend/index-vue.html-tpl index 6bcd7ab..d5e43cb 100644 --- a/src/djinit/templates/project/frontend/index-vue.html-tpl +++ b/src/djinit/templates/project/frontend/index-vue.html-tpl @@ -9,4 +9,4 @@
- \ No newline at end of file + diff --git a/src/djinit/templates/project/frontend/index.html-tpl b/src/djinit/templates/project/frontend/index.html-tpl index 061c342..12867b1 100644 --- a/src/djinit/templates/project/frontend/index.html-tpl +++ b/src/djinit/templates/project/frontend/index.html-tpl @@ -9,4 +9,4 @@
- \ No newline at end of file +