Quasar Build with process.env.DEV = true ?
-
I searched in docs, but didin’t find.
Can i set process.env.DEV = true on quasar build ?
or
set process.env.PROD = false on quasar build ?Thanks!
-
@leon Is this what you are looking for? https://quasar.dev/quasar-cli/handling-process-env#Values-supplied-by-Quasar-CLI
-
No @Hawkeye64 , i have read it. Tks
I need a stagging build.
-
I’m using https://github.com/quasarframework/app-extension-dotenv/tree/dev/app-extension.
and i need an build android with staging config, but every build point to .env (production) -
Solution here : https://forum.quasar-framework.org/topic/6622/how-to-support-multiple-environments/4
tks! -
@leon Instead of the dotenv app extension, try the qenv one: https://github.com/quasarframework/app-extension-qenv/tree/dev/app-extension