Vaadin productionMode for standard UI?

I have been unsuccessful in setting produciton mode for Vaadin. I have tried both of these in my application.properties file:

vaadin.productionMode=true
vaadin.servlet.productionMode=true

What am I missing?

Never mind, I found it in the source code on GitHub. The magic wording is:

jmix.ui.productionMode=true

I wish I was able to find that in the documentation :smile:

Thanks for reminding! Will add it.

@krivopustov
Hello Konstantin

For your information, jmix.ui.productionMode was never documented for version 2.x; I cannot find it anywhere, except here in this post. Can you please add it at your convenience. Thank you in advance.

Best regards
Chris

Hi Chris,

There is no such property in Jmix 2.x, instead use the vaadin.productionMode=true Gradle property when building a JAR or WAR. See Basic Deployment.

Regards,
Konstantin