developer-portal-starter icon indicating copy to clipboard operation
developer-portal-starter copied to clipboard

Allow customisation of gatsby config files

Open budt0m opened this issue 4 years ago • 3 comments

Hi guys,

Fantastic job on the developer portal.

I've been playing around with this starter, and one thing I'd love to be able to do is add configuration to the gatsby config files (gatsby-ssr.js, gatsby-node.js, gatsby-config.js, gatsby-browser.js) you use under the hood. One way of achieving this could be to allow devs to optionally include their own custom-gatsby-ssr.js etc. files in the root directory of the redocly project. Not sure. Happy to provide more feedback on my use case etc.

Cheers!

budt0m avatar May 20 '20 13:05 budt0m

+1 on this one! We'd like to prefetch google fonts using https://www.gatsbyjs.org/packages/gatsby-plugin-prefetch-google-fonts/, would be great to have that included.

JeroenVanHautte avatar Jul 22 '20 16:07 JeroenVanHautte

+1. I would love to be able to use gatsby-plugin-react-svg to inline SVGs (e.g., for dark mode).

I also need to be able to hook into onRouteUpdate in gatsby-browser.js.

jdahdah avatar Feb 22 '22 14:02 jdahdah

Is there any update on how to use onRouteUpdate, I really need that.

indranildeveloper avatar Oct 13 '22 13:10 indranildeveloper