Migrate UI to React and Tailwind Refs #32
This commit is contained in:
@@ -91,10 +91,18 @@ Set `IMPORTARR_AUTH_TOKEN_FILE` or `IMPORTARR_AUTH_TOKEN` to require `Authorizat
|
||||
python3.12 -m venv .venv
|
||||
. .venv/bin/activate
|
||||
pip install -e '.[test]'
|
||||
npm --prefix frontend install
|
||||
npm --prefix frontend run build
|
||||
pytest
|
||||
uvicorn importarr.main:app --reload
|
||||
```
|
||||
|
||||
The web UI is a Vite React application styled with Tailwind CSS. Its local
|
||||
shadcn-style component primitives use Radix UI for dialogs and composition, and
|
||||
lucide-react for icons. Run `npm --prefix frontend run dev` for Vite's development
|
||||
server (it proxies API calls to port 8765), or build before running FastAPI so the
|
||||
production assets are written to `importarr/static`.
|
||||
|
||||
### Persistent local review environment
|
||||
|
||||
The review Compose stack builds the current working tree, including uncommitted
|
||||
|
||||
Reference in New Issue
Block a user