Drupal starter
See original GitHub issueI tested @gridsome/source-drupal plugin and it’s just beautiful. If you have functional drupal backend with JSON:API module enabled you can build modern static site in a few minutes. By the way JSON:API goes to Drupal core starting from 8.7 version.
Huge thanks goes to @matt-e-king who is the author of the plugin! And he already start to work on starter project.
I suggest to build Drupal starter on top of always available ContentaCMS API: https://back-end.contentacms.io/api
The main advantage is that you have fully functional Gridsome example with flexible and clear content model in just two cli commands. However ContentaCMS has overwritten api keys which is not default for JSON:API module (e.g. articles
instead of node--article
).
Lets make Gridsome Drupal starter public and add it to plugin documentation page.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
@Al-Rozhkov I will update the @gridesome/source-drupal README to have a new table of contents, and I will include a new ContentaCMS section which will elaborate on how ContentaCMS uses JSON:API Extras to override api keys and
apiBase
- but otherwise will work “out-of-the-box”.And as you suggested, in the Drupal Starter project we can also clarify in the README on how to convert the
gridsome.config.js
to work with ContentaCMS.I’ll work on this over the next week, and then send you the pull request to review. How does that sound?
A CLI command is a good idea! I’m not familiar enough with the whole eco system to know how the Drupal Starter needs to be incorporated in order to scaffold out an app with a CLI command. Someone else would need to be the authority on that.
I believe this ticket can be closed.