Search
Setup for Free
N
Nuxt
•
3y ago
Hermes Alves
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
?
Nuxt
Join
Nuxt Community Chat Server
31,869
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
J
Julien
•
3/6/23, 5:09 PM
hi you can use
process.dev
process.dev
H
Hermes Alves
OP
•
3/6/23, 5:14 PM
Work
's fine
, thank you
J
Julien
hi you can use `process.dev`
J
Josh Deltener
•
4/24/23, 6:33 PM
Is there some way to access this inside nuxt
.config
.js
?
J
Julien
•
4/24/23, 6:35 PM
I would use
process.env.NODE_ENV
process.env.NODE_ENV
inside
nuxt.config.ts
nuxt.config.ts
J
Josh Deltener
•
4/24/23, 6:37 PM
ah perfect
, thanks
!
process.dev
process.dev
process.env.NODE_ENV
process.env.NODE_ENV
Similar Threads
Strange Behavior in dev mode , works in production serving build mode
N
Nuxt / ❓・help
11mo ago
Check inside plugin if running in dev mode
N
Nuxt / ❓・help
2y ago
i18n working fine in dev mode but not in production
N
Nuxt / ❓・help
7mo ago
Dev mode many requests
N
Nuxt / ❓・help
2y ago