Files
Project-Manager/frontend/README.md

32 lines
536 B
Markdown

Build instructions (macOS)
1. Install deps:
```bash
cd "$(pwd)/frontend"
npm install
```
2. Build the app (Vite):
```bash
npm run build
```
3. Copy the build into the Electron app root (overwrite `dist/`):
```bash
# from project root
cp -R frontend/dist/* ./dist/
```
4. Start Electron:
```bash
npm start
```
Notes
- Ensure `vite` and `@vitejs/plugin-react` are in `frontend/package.json` devDependencies.
- If your frontend source is in a different folder, place `vite.config.js` next to that source or update the path above.