mirror of
https://github.com/kc1awv/rrc-web.git
synced 2026-08-18 09:48:50 -04:00
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| build.sh | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| svelte.config.js | ||
| tailwind.config.js | ||
| vite.config.js | ||
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
-
Install dependencies:
cd svelte-frontend npm install -
Build the production bundle:
npm run build -
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.