Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add pass headers guide #6960

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
feat: remove warning
  • Loading branch information
rohrig committed Oct 26, 2023
commit fd2959e9e2a2e190be588fdb1ebc83b070b5189b
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ In this tutorial, we'll demonstrate how to set up an interceptor to pass headers

After passing the headers to the axios client, we'll also show you how to pass them to external services using the API Client.

::danger
Do not use createSharedComposable if creating a shared composable that uses the interceptor. This will cause the interceptor to only be created once, which will result in the headers being shared across instances.
::

## Prerequisites:
Ensure you have the Vue Storefront SDK set up in your project.

Expand Down