Replies: 2 comments 1 reply
-
Correct me if I'm wrong. It seems like this would be possible by replacing the _path_to_page_config dict (in runtime) with something that could search for regex (e.g. something like "/blogs/(.[^/])/" ) and annotate the config object with the matching values from the regex? |
Beta Was this translation helpful? Give feedback.
-
Looks like no. We did have an issue for it here: #514, but have closed it as not planned. But I think if we get enough requests for this feature, we can always reopen it and add it to Mesop. I do think it is a useful feature, but not too high priority for Mesop's current use cases where people typically building internal demos and tools. I think if people were building more public web applications, then having the nicer urls would be more beneficial. I think the only current option is to user query params, such as |
Beta Was this translation helpful? Give feedback.
-
I might be missing something but I cant find a way to dynamically route things (say for a blog I use a slug as part of the URL)?
Beta Was this translation helpful? Give feedback.
All reactions