rrc-web/svelte-frontend
2026-01-12 00:02:19 -05:00
..
public initial commit 2026-01-04 16:14:11 -05:00
src fix: render newlines in messages 2026-01-12 00:02:19 -05:00
.gitignore initial commit 2026-01-04 16:14:11 -05:00
build.sh initial commit 2026-01-04 16:14:11 -05:00
index.html initial commit 2026-01-04 16:14:11 -05:00
package-lock.json initial commit 2026-01-04 16:14:11 -05:00
package.json initial commit 2026-01-04 16:14:11 -05:00
postcss.config.js initial commit 2026-01-04 16:14:11 -05:00
README.md initial commit 2026-01-04 16:14:11 -05:00
svelte.config.js initial commit 2026-01-04 16:14:11 -05:00
tailwind.config.js initial commit 2026-01-04 16:14:11 -05:00
vite.config.js initial commit 2026-01-04 16:14:11 -05:00

Svelte + daisyUI Frontend for RRC Browser

This directory contains a frontend for the RRC Browser built with Svelte and daisyUI.

Prerequisites

You need Node.js (v16 or higher) and npm installed on your system.

Build Steps

  1. Install dependencies:

    cd svelte-frontend
    npm install
    
  2. Build the production bundle:

    npm run build
    
  3. The built files will be output to ../rrc_web/static-svelte/

Development

To run the development server with hot reload:

npm run dev

Then open your browser to the URL shown (usually http://localhost:5173).

Note: The WebSocket connection expects the backend to be running on the same host/port as the frontend is served from.