Skip to content

Environment Variables and widgets #8

Description

@adiettrich

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions