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

Introduce custom $fetch instance #211

Closed vloss3 closed 2 months ago

vloss3 commented 3 months ago

Introduce a custom $fetch instance that is included in a helper, e.g. const { $ceApi } = useDrupalCe() to reduce duplicated code.

Check: https://notes.atinux.com/nuxt-custom-fetch https://www.youtube.com/watch?v=jXH8Tr-exhI