title: Downloading a CSV of file using Vue and JS
body: <p>I have a field called <code>csvdata</code> that contains an array of the following format:</p>
  
  <pre><code>[
      [1,2,3],
      [4,5,6],
      [7,8,9]
  ]
  </code></pre>
  
  <p>I'm trying to download a CSV file of this data.
  I'm using Vue so it looks like:</p>
  
  <pre><code>&lt;button type="button" class="btn btn-info action_btn" v-on:click="downloadCSVData"&gt;
        Download
  &lt;/button&gt;
  </code></pre>
  
  <p>How should the <code>downloadCSVData</code> function look like?</p>