fix: restructure Elec to match electron-vite expected layout

- Move index.html to src/renderer/ (electron-vite hard requirement)
- Flatten React source to src/ (main.tsx, App.tsx, components/)
- Remove debug red background
- Use @tailwindcss/postcss plugin

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
fyah
2026-05-09 11:31:38 +08:00
parent 18928b3d16
commit 8bd977987a
9 changed files with 5 additions and 6 deletions

View File

@@ -13,7 +13,6 @@ export default defineConfig({
preload: {
input: 'src/preload/index.ts',
},
},
]),
],
})