title: how to vue-json-to-csv with vue
body: <p>Good afternoon everyone I'm having a problem converting json to csv, I'm using a lib I found at <a href="https://github.com/angeliquekom/vue-json-to-csv" rel="nofollow noreferrer">https://github.com/angeliquekom/vue-json-to-csv</a>, to be very interesting, but I'm having trouble passing an arrau for component.</p>
  
  <p>my code:</p>
  
  <pre><code>&lt;template&gt;
              &lt;vue-json-to-csv :json-data="data"
            :labels="{
              id: { title: 'id' },
              co_tipo_nota: { title: 'co_tipo_nota' },
              ds_nota: { title: 'ds_nota' },
              ds_outro_criterio: { title: 'ds_outro_criterio' },
              ds_nofl_avaliacao_anonimata: { title: 'fl_avaliacao_anonima' },
              dt_nota: { title: 'dt_nota' },
  
            }"
            @success="val =&gt; handleSuccess(val)"
            @error="val =&gt; handleError(val)"&gt;
            &lt;button&gt;
              &lt;b&gt;My custom button&lt;/b&gt;
            &lt;/button&gt;
          &lt;/vue-json-to-csv&gt;
          &lt;/template&gt;
  
          &lt;script&gt;
          import VueJsonToCsv from 'vue-json-to-csv'
          import { baseApiUrl } from '@/global'
          import axios from 'axios'
  
          export default {
               name: 'DowloadCvsThree',
               components: {
                  VueJsonToCsv,
              },
  
              data: function() {
                  return {
                      mode: 'save',
                      nota: {},
                      notas: [],
  
                  }
              },
              props: {
                  notas: Array
              },
               methods: {
                  loadUsers() {
                      const url = `${baseApiUrl}/notas`
                      axios.get(url).then(res =&gt; {
                          this.notas = res.data
                      })
                  },
              mounted() {
                  this.loadUsers()
              }
  
           }
          }
          &lt;/script&gt;
  
          &lt;style&gt;
  
          &lt;/style&gt;
  
  
  
      the error return is ?
      [o erro][1]
      [1]: https://i.stack.imgur.com/llHeZ.png
  </code></pre>
  
  <p>can anybody help me? I'm trying to pass an array to the json-to-csv: json-data = "data" component, but the date is not an array with I do? 
  he address of lib npm is: <a href="https://github.com/angeliquekom/vue-json-to-csv" rel="nofollow noreferrer">https://github.com/angeliquekom/vue-json-to-csv</a></p>
  
  <p>awaiting return?</p>