# How to use the production environment files in VueJS

> When you run the production build for your VueJS app, if a `.env.production` file exists VueJS will use that one, even if another `.env` file is present.

- URL: https://graffino.com/til/how-to-use-the-production-environment-in-vue
- Author: Denisa Halmaghi
- Channel: vue
- Published: 2021-07-16
- Updated: 2021-09-18

When you run the production build for your VueJS app, if a `.env.production` file exists VueJS will use that one, even if another `.env` file is present.
