When using a build tool like Webpack or Browserify, the production mode will be determined by _ENV inside Vue’s source code, and it will be in development mode by default. Both versions can be found in the Installation guide. directly including Vue via a script tag without a build tool, make sure to use the minified version ( ) for production. In addition, some of these warning checks have small runtime costs that can be avoided in production mode. However, these warning strings become useless in production and bloat your app’s payload size. Turn on Production Modeĭuring development, Vue provides a lot of warnings to help you with common errors and pitfalls. This section is only relevant if you are using a custom build setup. Most of the tips below are enabled by default if you are using Vue CLI.