gatsby-wordpress-starter-files
gatsby-wordpress-starter-files copied to clipboard
Rename {wpPage.uri}.js to {wpPage.link}.js
Using the filename '{wpPage.uri}.js' seems to overwrite the 'index.js' route as well. I renamed the file to '{wpPage.link}.js' and it seems to restore the home page 'index.js' to its proper rendering. Incidentally, directory 33 in '5. Stepped Solutions' has the filename '{wpPage.link}.js'.
My gatsby version is 3.7.1
Thanks.