title: Can't use .env file in vue js while running cross-env NODE_ENV=development webpack-dev-server --open --hot
body: <p>I'm trying to use an .env file for local variables but when I try and console them, it comes up as undefined.</p>
  <p>Below is my .env file (which is at the root of my project)</p>
  <pre><code>VUE_APP_STRAPI_HOST=http://localhost:1337/
  </code></pre>
  <p>And I'm using the following when trying to console log this:</p>
  <pre><code>console.log(process.env.VUE_APP_STRAPI_HOST)
  </code></pre>
  <p>Here is what I'm running in the command line again:</p>
  <pre><code>cross-env NODE_ENV=development webpack-dev-server --open --hot 
  </code></pre>
  <p>I'm thinking it's something to do with the cross-env maybe?</p>