How to run app by different env files #7410
Unanswered
Alexis-Dernoncourt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I am using env-cmd into scripts from package.json to build and run the apps from different env files. It works good but do not provide the env variables with "ionic cap run -l --external". App is loaded on device but env return undefined. Could someone help to fix it please ? 🙏
(its an ionic react project - got 3 differents env files)
Beta Was this translation helpful? Give feedback.
All reactions