536 B
536 B
Build instructions (macOS)
- Install deps:
cd "$(pwd)/frontend"
npm install
- Build the app (Vite):
npm run build
- Copy the build into the Electron app root (overwrite
dist/):
# from project root
cp -R frontend/dist/* ./dist/
- Start Electron:
npm start
Notes
- Ensure
viteand@vitejs/plugin-reactare infrontend/package.jsondevDependencies. - If your frontend source is in a different folder, place
vite.config.jsnext to that source or update the path above.