Hi everyone I am pretty new to compose-web, but al...
# compose-web
r
Hi everyone I am pretty new to compose-web, but already love it. The fact that I can use a common theme for my Apps and the webApp is simply great, and writing compose is much more interesting than html, css and Javascript. Now I have one question about navigation. I didn't had the time to try everithing out, just read the docs. If I understand this Info right:
Copy code
Make sure that every string that corresponds to a route starts with the # character to keep the data within URL fragments. Otherwise, when users copy and paste the URL, the browser will try to access a wrong endpoint instead of passing the control to your app.
This is only needed as long as I am not using rewrite rules on the server side like I would with a php site to hide perhaps index.php? In other words, can I remove the # if I use the right rewrite rules on the webserver?
👌 1
a
I don't know about that, but you can try using a navigation + router that is browser friendly take a look at https://github.com/asoft-ltd/captain and see if it can help you there
r
Thanks for your response, will take a look at it.
👍🏾 1