What's the best way to handle configuriatons for different enviornments #17630
Unanswered
knightsrule
asked this question in
CLI - PWA mode
Replies: 2 comments 1 reply
-
|
The term What you want is to use env variables for configuration, see: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks. How do I build using Dev configuration ? Checking Node_env’s value will work but I don’t know how to impact its value. Quasar build uses production configuration Sent from my iPhoneOn Nov 9, 2024, at 7:15 AM, Yusuf Kandemir ***@***.***> wrote:
The term quasar.config file represents quasar.config.js/quasar.config.ts.
What you want is to use env variables for configuration, see:
https://quasar.dev/quasar-cli-vite/handling-process-env
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I would like to use development enviornment settings when running "quasar dev" or when deploying to a dev stack in AWS. I'd like ot use prodeuction configuration settings when building for production. If i add a "mode" flag to "quasar build mode=dev/prod", "quasar dev" doesn't pick this flag up.
What's the best way to handle this.
I tried this page as a guidance, https://quasar.dev/quasar-cli-vite/quasar-config-file, but I have two issues:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions