diff --git a/blog/2023-08-30-flet-for-fastapi.md b/blog/2023-08-30-flet-for-fastapi.md index e58e89d8..24e0213a 100644 --- a/blog/2023-08-30-flet-for-fastapi.md +++ b/blog/2023-08-30-flet-for-fastapi.md @@ -19,7 +19,7 @@ On the other hand, seasoned FastAPI developers can use Flet to easily add intera ```python import flet as ft -import flet_fastapi +import flet.fastapi as flet_fastapi async def main(page: ft.Page): await page.add_async( @@ -34,7 +34,7 @@ It's a simple app that just outputs "Hello, Flet!" on a web page. To run the app install Flet for FastAPI and Uvicorn: ``` -pip install flet-fastapi +pip install flet pip install uvicorn ``` @@ -61,4 +61,4 @@ Flet app must be [async](/docs/getting-started/async-apps) in order to work with Check [the guide](/docs/publish/web/dynamic-website) for complete information about Flet with FastAPI. -Let us know what you think by joining [Flet Discord server](https://discord.gg/dzWXP8SHG8) or creating a new thread on [Flet GitHub discussions](https://github.com/flet-dev/flet/discussions). \ No newline at end of file +Let us know what you think by joining [Flet Discord server](https://discord.gg/dzWXP8SHG8) or creating a new thread on [Flet GitHub discussions](https://github.com/flet-dev/flet/discussions).