title: call parent method in child component using vue.js
body: <p>hello everyone i jusy wanna know how to call a perent function from a child component
  i've tried to use the $parent to call the perent method but i have this error typeError: _this.$parent.forceRender is not a function
  here's the parent method that i'm trying to call</p>
  <pre><code>methods: {
        forceRender() {
          this.componentKey += 1
        }
      },
  </code></pre>
  <p>and here's the child component as you can see i'm trying to call the parent method using the $parent</p>
  <pre><code>this.$parent.forceRender()
  </code></pre>