devtools
                                
                                
                                
                                    devtools copied to clipboard
                            
                            
                            
                        How to use Devtools in build production
📚 Is your documentation request related to a problem?
I want to use Nuxt devtools in production. how do I use?
🔍 Where should you find it?
No response
ℹ️ Additional context
No response
Nuxt DevTools doesn't support running in production yet, but it's in our roadmap. Stay tuned.
Hi there,
I am creating a module for AB experimentation which allows for easy variant overrides for a third party solution. We would love to use Nuxt Devtools to host a custom module that allows us to override variants for testing purposes and expose that to everyone in our local, but also deploy previews hosted on Netlify.
This is working fine for local development, but we would like to run these in our Netlify Deploy Previews as well. The app is build and deployed using netlify deploy --build --context deploy-preview which just fires yarn build.
I think this issue must be related to the main question of this issue depending on what is meant with production.
Digging into the source I noticed it stops initialisation on the nuxt.options.dev part of the module-main, yet if I try to override the dev value in nuxt config it does not change the value to true.
Are there any workarounds? Am I trying something that the Devtools are not really supposed to be used for? And otherwise is there a timeline for when such functionality might be supported?
Thank you!
@ItsMeDelanoDev currently Nuxt DevTools is for dev environment, there is no support for production for now
@arashsheyda Thank you for the answer! How likely will the Nuxt DevTools become supported in builds like a Netlify Deploy Preview in the (near) future? Or am I simply just trying the wrong thing here.
@ItsMeDelanoDev I know that it's on the roadmap.