Closed cnatale closed 6 years ago
Just to clarify - navigation itself works? Just url in adress bar is missing pathPrefix?
@cnatale I edited the wrong markdown format for better reading
Due to the high volume of issues, we're closing out older ones without recent activity. Please open a new issue if you need help!
Description
Setting a pathPrefix in gatsby-config causes Gatsby-link component paths to update dynamically. However, the navigateTo() method does not.
Steps to reproduce
Set the pathPrefix property in gatsby-config.js. Use navigateTo('routeName') to navigate.
Expected result
The route is navigated to, with pathPrefix prepended to it.
Actual result
The route is navigated to, but without pathPrefix appended to it.
Environment
File contents (if changed)
gatsby-config.js
:package.json
:gatsby-browser.js
: N/Agatsby-ssr.js
: N/A