Skip to content
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

Params don't work with static flet website #5

Open
move123456789 opened this issue Jun 20, 2023 · 0 comments
Open

Params don't work with static flet website #5

move123456789 opened this issue Jun 20, 2023 · 0 comments

Comments

@move123456789
Copy link

Hi, ai am building a static website with the use of flet_route, but i have stumbled upon issues as follow:
I am compiling with hash routing because when i try to use path routing i get error 404, page not found. This could also be because of flet_route, but thats not my main concern.

Standard Homepage with hash routing and flet_route:

image

When i try go to a page with a param:

image

When i am on page and clicked a button that adds a param:

image
image

Going to other page directly with using path routing:

image
This is why i am using hash routing at the moment, with path routing i can't directly go to url

Flet Static Website Url:

https://flet.dev/docs/guides/python/publishing-static-website/#web-renderer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant