logaretm / villus

🏎 A tiny and fast GraphQL client for Vue.js
https://villus.dev
MIT License
790 stars 31 forks source link

How to set authorization header when using createClient({}) instance, I use quasar framework and I want to add headers on each request send to API. #181

Closed francelwebdev closed 1 year ago

francelwebdev commented 1 year ago

How to set authorization header when using createClient({}) instance, I use quasar framework and I want to add headers on each request send to API.

logaretm commented 1 year ago

You can do so with plugins. Check the documentation here.