You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In pages/docs/index.md I have a link to the middleware docs like: `Middleware.
When I run gatsby develop the pages get rendered correctly. But when I click the middleware link above the browser loads the Middleware HTML page afresh instead of doing an in-page navigation (i.e. using React Router).
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
I've tried to figure this out from looking at Gatsby code. From what I can see the files are stored in the bundle.js using against their original paths rather than the URL I use in the link (e.g. ./docs/Middleware/index.md). Perhaps this is a reason why the React Router doesn't handle the URL?
hiddentao
changed the title
How do I use SPA React routing for links to markdown files?
How do I get React Router to handle links to markdown files?
Aug 10, 2016
I have a folder structure like:
In
pages/docs/index.md
I have a link to the middleware docs like: `Middleware.When I run
gatsby develop
the pages get rendered correctly. But when I click the middleware link above the browser loads the Middleware HTML page afresh instead of doing an in-page navigation (i.e. using React Router).What am I doing wrong?
The text was updated successfully, but these errors were encountered: