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
hi you can use
process.dev
Work's fine, thank you
Is there some way to access this inside nuxt.config.js?
I would use
process.env.NODE_ENV
inside nuxt.config.ts
ah perfect, thanks!