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

Environment Variables and widgets #8

Open
adiettrich opened this issue Nov 20, 2023 · 0 comments
Open

Environment Variables and widgets #8

adiettrich opened this issue Nov 20, 2023 · 0 comments

Comments

@adiettrich
Copy link

Hello I recently tried to build a widget, which uses an environment variable. And I am struggling to import it. I tried to define it in an .env file and load it via react-scripts (https://create-react-app.dev/docs/adding-custom-environment-variables/) into the widget, but it did not work.
Do you have any suggestions or instructions on how to load env-variables into a widget on startup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant