Redocly / developer-portal-starter

Starter template for the Redocly developer portal
https://redoc.ly
Other
64 stars 101 forks source link

Allow customisation of gatsby config files #2

Open budt0m opened 4 years ago

budt0m commented 4 years ago

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!

JeroenVanHautte commented 4 years ago

+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.

jdahdah commented 2 years ago

+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.

indranildeveloper commented 2 years ago

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