feat(src/djinit/templates/project/frontend): use .jsx entry point in frontend template
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
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -9,4 +9,4 @@
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
@@ -9,4 +9,4 @@
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.jsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
Reference in new issue
Block a user