-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It works only with internet #307
Comments
It should be possible to get it to work locally, too. I agree with you. I just set up a local development environment for testing some TypeScript changes and was able to get it to work, but I had to tweak some things. |
You could probably do the following:
Stick them in a folder under your fastapi/flask project, inside a Then configure fastapi and fastui as follows:
|
Yes, it works! Thank you very much.)) |
@ronvaleron Great! Thanks for the note about importing StaticFiles :) |
just adding that you probably also need the other files (CodeLazy.js, Markdown...)? FASTUI_ASSETS_VERSION=0.0.23
FASTUI_ASSETS_URL=https://cdn.jsdelivr.net/npm/@pydantic/fastui-prebuilt@$FASTUI_ASSETS_VERSION/dist/assets/
wget -r -np -nH --cut-dirs=5 -R "index.html,index.html.tmp" -P ./static/assets/ $FASTUI_ASSETS_URL |
|
Why did this framework is working only with internet?
I mean, it is not in local network without internet...
The text was updated successfully, but these errors were encountered: