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

Ability to configure multiple Sanity clients #2

Closed
vicmeow opened this issue Aug 17, 2020 · 0 comments
Closed

Ability to configure multiple Sanity clients #2

vicmeow opened this issue Aug 17, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@vicmeow
Copy link

vicmeow commented Aug 17, 2020

Is your feature request related to a problem? Please describe.

Sometimes you want to be able to configure multiple sanity clients that each have their respective uses, like one configured specifically to be used as a listener, or one configured to a specific project and/or dataset.

Describe the solution you'd like to see

In nuxt.config.js, the sanity config could also accept an array of client configs instead of only an object. This would follow a pattern I think is in other Nuxt plugins (it's been a while since I was nuxting, so I'm not sure if I remember correctly).

Describe alternatives you've considered

Going around the plugin and setting up multiple clients manually.

Additional context

@vicmeow vicmeow added the enhancement New feature or request label Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant