Replies: 1 comment 2 replies
-
Development notesI use fastapi backend. navbar.py from reactpy import component, html
from reactpy.backend.fastapi import configure, Options
from reactpy_router import route, simple
from fastapi import FastAPI
HEADER_TITLE = 'ReactPy-Navbar'
...
app = FastAPI()
configure(app, root, options=Options(head=html.head(html.title(HEADER_TITLE)))) and normally just use the following requirements.txt content.
and run the app with
That requirements.txt has an issue though, it cannot see The solution is to use
in the requirements.txt I am on windows 10 OS, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A navbar demo, the source code is in my github repository.
Big screen
Small screen.
Beta Was this translation helpful? Give feedback.
All reactions