apitable / apitable/widget-cli

Environment Variables and widgets

Aperta
#8 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
2
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.