apitable / apitable/widget-cli

Environment Variables and widgets

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.