out/) in a Tauri v2 shell located at nu_pos_react/src-tauri/.
Commands
Run fromnu_pos_react/:
build:standalone first, then launch cargo tauri.
Runtime configuration
The Tauri shell injects config intowindow.__POS_RUNTIME_CONFIG__ at startup:
Pass values via environment variables:
CSP and network allowlist
The CSP insrc-tauri/tauri.conf.json controls which origins the app can connect to. The current policy uses a bare * wildcard in connect-src to allow connections to any host, including local network hub IPs:
The bare
* is required for Android compatibility. See Tauri Android for details on why scheme-specific wildcards don’t work on Android WebView.Platform prerequisites
- macOS
- Windows
- Linux
- Xcode Command Line Tools:
xcode-select --install - Apple signing identity and notarization credentials for public distribution