drupal-graphql / drupal-graphql/graphql
How to access additional JavaScript library URLs
Open
3.x
- Dominant language
- PHP
- Stars
- 287
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Description
When using graphql 3.x, the rendered HTML content of a page can be fetched with `entityRendered`.
Some drupal modules register additional JavaScript libraries for [certain pages or content elements](https://www.drupal.org/docs/develop/creating-modules/adding-assets-css-js-to-a-drupal-module-via-librariesyml#s-attaching-a-library-to-pages).
When using Drupal as headless CMS, those libraries need to be included in the final HTML page in addition to the rendered HTML content.
How can I fetch those libraries? `entityMetatags` does not contain them.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.