drunomics / nuxtjs-drupal-ce

A Nuxt module to easily connect Drupal via custom elements.
https://lupus-decoupled.org/
MIT License
22 stars 4 forks source link

docs: LDCL-54: Add jsdocs for provided API helpers #222

Closed vloss3 closed 2 months ago

fago commented 2 months ago

ehm, no? why would we? when the caller wants to use useRuntimeConfig().public.drupalCe.drupalBaseUrl he should simply do so.

BUT - we should point that out in the documentation. this method will automatically use serverDrupalBaseUrl on the server. If the general base URL is always needed simply use return useRuntimeConfig().public.drupalCe.drupalBaseUrl

Generally, we should have documentation for all of our provided API helpers. If not, let'S add it.