Hi,
I'm creating an app that will sit on many different sites, in partiular on sub directories like:
www.website.com/something/goes/here
In React Router you can set a basename property on the router so push state can work properly without directing the user back to the domain root, e.g:
basename="/something/goes/here"
Is there a way I can achieve this in preact-router? I haven't found any reference to this in the docs.
Thanks
Hi,
I'm creating an app that will sit on many different sites, in partiular on sub directories like:
www.website.com/something/goes/hereIn React Router you can set a
basenameproperty on the router so push state can work properly without directing the user back to the domain root, e.g:basename="/something/goes/here"Is there a way I can achieve this in
preact-router? I haven't found any reference to this in the docs.Thanks