1
0

feat: initialize Electron dashboard with basic structure

This commit is contained in:
2025-07-18 08:51:25 +02:00
parent c996bebee6
commit d3f733638e
19 changed files with 5823 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import { resolve } from 'path'
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
main: {
plugins: [externalizeDepsPlugin()]
},
preload: {
plugins: [externalizeDepsPlugin()]
},
renderer: {
resolve: {
alias: {
'@renderer': resolve('src/renderer/src')
}
},
plugins: [react()]
}
})