Dev mode or production mode? How can check it?

Any way to test within the nuxt 3 app if I'm in dev or production mode?
5 Replies
Julien
Julien2y ago
hi you can use process.dev
Hermes Alves
Hermes AlvesOP2y ago
Work's fine, thank you
Josh Deltener
Josh Deltener2y ago
Is there some way to access this inside nuxt.config.js?
Julien
Julien2y ago
I would use process.env.NODE_ENV inside nuxt.config.ts
Josh Deltener
Josh Deltener2y ago
ah perfect, thanks!
Want results from more Discord servers?
Add your server