Gatsby Starter Drupal Boina
The Gatsby Starter for the Drupal Boina Distribution
gatsby new boina https://github.com/weknowinc/gatsby-starter-drupal-boina cd boina
Copy environment file
cp .env.dist .env.development
You should use
.env.productionfor production environment.
Update environment variables
# drupal DRUPAL_HOST=http://drupal-boina.weknowinc.com/
The DRUPAL_HOST variable contains the URL for your Drupal backed server. We highly recommend you to use the Drupal Boina Distribution. But in case you want to try right away. Don't worry we prepare a demo server running our Boina Distribution at http://drupal-boina.weknowinc.com/
Start Gatsby in development mode
Replacing a component (shadowing)
Create a js component in the starting with the path:
And follow the path to the component you want to replace.