title: vue.js vue-good-table passing id to laravel controller
body: <p>Hello guys I'm new to vue.js and vue-good-table.</p>
  
  <p>I was able to get the id of my row data using console.log but I don't know how to pass it to the controller in order to proceed with a put or delete method.</p>
  
  <p><strong>Department.vue Component</strong></p>
  
  <pre><code>&lt;vue-good-table styleClass="vgt-table striped bordered condensed" 
  ....&gt;
   &lt;template slot="table-row" slot-scope="props"&gt;
    &lt;span v-if="props.column.field == 'before'"&gt;
     &lt;button class="btn btn-primary btn-block" @click="fetch(props)"&gt;Edit&lt;/button&gt;
    &lt;/span&gt;
  &lt;/template&gt;
  &lt;/vue-good-table&gt;
  
  &lt;script&gt;
  ...
  ...
    methods: {
        fetch(props) {
              console.log(props.row.id);
  }
  &lt;/script&gt;
  </code></pre>