title: Why axios request not working inside vuejs (nuxt.js) methods
body: <p>I have installed axios inside my nuxt.js application. Here my configuration file code:</p>
  
  <p>File: <strong>nuxt.config.js</strong></p>
  
  <pre><code>modules: [
    '@nuxtjs/vuetify',
    '@nuxtjs/axios',
  ],
  
  axios: {
    // proxyHeaders: false
  }
  </code></pre>
  
  <p>Here my example working code:</p>
  
  <pre><code>export default {
    data() {
      return {
        ip: ''
      }
    },
    async asyncData({ $axios }) {
      const ip = await $axios.$get('http://icanhazip.com')
      return { ip }
    }
  }
  </code></pre>
  
  <p>And here my not working code:</p>
  
  <pre><code>export default {
    data() {
      return {
        ip: ''
      }
    },
    methods: {
      async asyncData() {
        const ip = await this.$axios.$get('http://icanhazip.com')
        this.ip = ip
      }
    } 
  }
  </code></pre>
  
  <p>Why inside <code>methods</code> axios request not working?</p>