fix: move React source into src/renderer/ — electron-vite renderer root

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
fyah
2026-05-09 11:39:45 +08:00
parent 43a599fc14
commit e5409c81bb
8 changed files with 2 additions and 2 deletions

View File

@@ -7,6 +7,6 @@
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script type="module" src="./main.tsx"></script>
</body>
</html>

View File

@@ -2,7 +2,7 @@
export default {
content: [
"./src/renderer/index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"./src/renderer/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},