reflex icon indicating copy to clipboard operation
reflex copied to clipboard

@rx.page doesn't work inside nested folders

Open iBuitron opened this issue 1 year ago β€’ 2 comments

Nested folders.

image

when i add the page using page.add_page(...) it works when visit quickBio-home image

but when i use @rx.page and visit /upload doesn't work (404) image

Specifics (please complete the following information):

  • Python Version: 3.11
  • Reflex Version: 0.4.9
  • OS: WSL2 Ubuntu 22.04
  • Browser (Optional): Chrome

iBuitron avatar May 13 '24 06:05 iBuitron

with rx.page, you'll need to import the upload function in your main file(quickBio_frontend.py) to be recognized

ElijahAhianyo avatar May 13 '24 10:05 ElijahAhianyo

Nice! it works!,

I thought it was a bug, can it be added to the documentation? https://reflex.dev/docs/pages/routes/

iBuitron avatar May 13 '24 12:05 iBuitron