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 pass env-variables to UI Extension #3045

Open
KariNarhi28 opened this issue Sep 6, 2024 · 1 comment
Open

Ability to pass env-variables to UI Extension #3045

KariNarhi28 opened this issue Sep 6, 2024 · 1 comment

Comments

@KariNarhi28
Copy link

Is your feature request related to a problem? Please describe.
Sometimes there are API Keys or other variables that you need to switch between dev/staging and production.

Currently there is no configuration that would pass variables from Plugin to it's UI.

Not talking about the customField-config that passes customField-related data.

Describe the solution you'd like
A config-field in VendurePlugin-config that would pass the other-than-custom-field-data to UI-extension provided inside that plugin.

Describe alternatives you've considered
Allow creation of separate UI-components for different environments and a config-flag that would set the environment for which the Admin UI is built.

Additional context
Related Discord-thread:
https://discord.com/channels/1100672177260478564/1281528744527528018

@dlhck
Copy link
Collaborator

dlhck commented Sep 24, 2024

This could be done together with #2903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📦 Backlog
Development

No branches or pull requests

2 participants