title: Call a VueJS method inside a component outside 'export default'
body: <p>I'm trying to call a function inside 'method' from outside. However, it isn't working. </p>
  
  <p>Github issue reporting the same: <a href="https://github.com/vuejs/vue/issues/329" rel="noreferrer">https://github.com/vuejs/vue/issues/329</a></p>
  
  <pre><code>vm.test(); // call a function in method, not working
  this.vue.test()  // not working
  export default {
    methods: {
      test: function() {
        alert('test fuction called');
      }
    }
  }
  </code></pre>