title: Add Laravel .env variable to Vue component
body: <p>I would like to get access to an .env variable using Vue JS.</p>
  
  <p>In my .env file I have added the 'MIX_' prefix to the var.</p>
  
  <pre><code>MIX_VAR=key
  </code></pre>
  
  <p>And then in the vue component, I have in the created():</p>
  
  <pre><code>console.log(process.env.MIX_VAR);
  </code></pre>
  
  <p>I keep getting undefined as the result.</p>
  
  <p>I have tried clearing config cache, but still getting the same issue. Any ideas?</p>