moved from tauri to a server with embedded UI
This commit is contained in:
14
README.md
14
README.md
@@ -1,11 +1,19 @@
|
||||
# Tauri + React + Typescript
|
||||
# Living Spec Standalone (Web Server Binary)
|
||||
|
||||
This template should help get you started developing with Tauri, React and Typescript in Vite.
|
||||
This app runs as a single Rust web server binary that serves the Vite/React frontend and exposes APIs.
|
||||
The frontend lives in the `frontend/` directory.
|
||||
|
||||
## Running it
|
||||
|
||||
```bash
|
||||
pnpm tauri dev
|
||||
# Build the frontend
|
||||
cd frontend
|
||||
pnpm install
|
||||
pnpm build
|
||||
cd ..
|
||||
|
||||
# Run the server (serves embedded frontend/dist/)
|
||||
cargo run --manifest-path server/Cargo.toml
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user