title: Different baseURL for development and production with Nuxt.js
body: <p>How can I add a different baseURL for development and production?</p>
  <p>This is currently my nuxt.config.js</p>
  <pre><code>module.exports = {
    mode: 'universal',
  ...
    axios: {
      // See https://github.com/nuxt-community/axios-module#options
      baseURL: 'http://10.8.0.1:8000',
      credentials: false
    },
  ...
  }
  </code></pre>
  <p>For <strong>npm run dev</strong> and <strong>npm run generate</strong> I would like to have different baseURL's.</p>
  <p>How can I do this?</p>
  <h1>EDIT</h1>
  <pre><code>// nuxt.config.js
  export default {
    env: {
      baseUrl: process.env.BASE_URL || 'http://localhost:3000'
    }
  }
  
  console.log(process.env.BASE_URL) // &lt;-- The output is correct (I get the BASE_URL from my env variables
  
  module.exports = {
     ...
    axios: {
      baseURL: process.env.baseUrl // &lt;-- This is not working, why?
    },
     ...
  }
  </code></pre>