Update development scripts and configuration for web UI/desktop app separation

This commit is contained in:
2026-05-07 20:18:39 +02:00
parent c544538bc1
commit 2fab5e6d1d
3 changed files with 7 additions and 5 deletions

View File

@@ -51,16 +51,16 @@ ollama serve
## Development
Run the web UI only:
Run the desktop app:
```bash
npm run dev
```
Run the desktop app:
Run the web UI in a browser:
```bash
npm run tauri dev
npm run dev:web
```
Build the frontend:

View File

@@ -4,7 +4,9 @@
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"dev": "tauri dev",
"dev:vite": "vite --host 127.0.0.1",
"dev:web": "vite --host 127.0.0.1 --open",
"build": "tsc && vite build",
"preview": "vite preview",
"tauri": "tauri"

View File

@@ -4,7 +4,7 @@
"version": "0.1.0",
"identifier": "com.giers.conceptmaker",
"build": {
"beforeDevCommand": "npm run dev",
"beforeDevCommand": "npm run dev:vite",
"beforeBuildCommand": "npm run build",
"devUrl": "http://localhost:5173",
"frontendDist": "../dist"