Closed jfbrennan closed 11 months ago
Router is setting base to /
inside getBase()
. The call to getAttribute(BASE_ATTRIBUTE_NAME)
returns undefined, but this.el.attributes.base
is set to /app
...
I think that you have found a bug. I will patch it asap. Please for now just use <router-hoc base={"/app"}>
instead, this should work as expected. Thank you for your help
That worked, thanks! If I have time I will try to debug further and send a PR.
I'm not able to get this to work
And inside
my-sitenav.riot
I have a link to take the user over to the main websiteIn fact, every link inside
<router-hoc base="/app">
seems to be captured by Riot Router