How to hide the devtools in deployed apps?
I deployed an app with Tanstack router and devtools. The devtools are showing on the deployed app.
2 Replies
wee-brown•2y ago
Did you make sure to build your app with NODE_ENV=production?
Thats from the docs, there you dont render the devtools depending on your NODE_ENV
optimistic-goldOP•2y ago
ah not yet. i will. thanks.
This works by the way. I am using it now. Thanks!