Decoupled
RainCMS is compatible with decoupled frameworks like GatsbyJS and NextJS thanks to Drupal 9's robust API layer.
Rain ships with a "Landing" content type that allows inline blocks to be added directly on the node edit page (similar to Paragraphs) which works better with JSON:API than Layout builder.
To configure RainCMS with Gatsby follow the official Drupal.org tutorial with a couple of changes noted below.
Tutorial: GatsbyJS 2.x Tutorial
Notes:
Install RainCMS in lieu of the core Drupal Umami install profile
Install the Rain Gatsby starter instead of the Gatsby starter provided in the tutorial.
Last updated