title: Retrieve config and env variable in vue component
body: <p>I have a Vue component in my Laravel application.</p>
  
  <p>I want to retrieve a URL that is in a config (or the .env Laravel file) directly in my Vue component, instead of hardcoding it.
  In webpack laravel mix I can retrieve my .env variable like this.</p>
  
  <p><code>require('dotenv').config()
  let proxyUrl = process.env.APP_URL</code></p>
  
  <p>But when I want to do this in my app.js, I have a <code>can't resolve fs</code> when trying to require dotenv.</p>
  
  <p>What is the best way to have this data available in my Vue components ?</p>