ES module imports fail via file:// or raw Forge URLs. Three options: ./preview.sh, docker compose up nexus-preview, GitHub Pages. Fixes #1339
19 lines
496 B
Markdown
19 lines
496 B
Markdown
# Nexus Preview
|
|
|
|
ES module imports fail via `file://` or raw Forge URLs. `boot.js` warns: _"Serve over HTTP."_
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
./preview.sh # http://localhost:8080
|
|
./preview.sh docker # nginx + WS proxy
|
|
docker compose up -d nexus-preview nexus-backend
|
|
```
|
|
|
|
## Files
|
|
|
|
- `Dockerfile.preview` — nginx container
|
|
- `preview/nginx.conf` — MIME types + WebSocket proxy
|
|
- `preview.sh` — Python preview server
|
|
- `.github/workflows/pages.yml` — GitHub Pages auto-deploy
|