title: Exceljs not load static file
body: <p>I have a need to generate the received data in excel, however I am facing the problem of accessing a static file on my server</p>
  <p>I use NuxtJS + VUE a static Excel file is located in my /static folder</p>
  <pre><code>/static/Excel.xlsx
  /static/Word.docx
  </code></pre>
  <p>If I try to access via FileReader () then I get the error</p>
  <pre><code>  var workBook = new Excel.Workbook();
    workBook.xlsx.readFile(&quot;/Excel.xlsx&quot;).then(function() {
      const ws = workbook.getWorksheet(&quot;Sheet1&quot;);
      cell = ws.getCell(&quot;A1&quot;).value;
      console.log(cell);
    });
  </code></pre>
  <p>Error:</p>
  <pre><code>TypeError: Cannot read property 'F_OK' of undefined
  </code></pre>
  <p>This error, as I understood from the discussions, is related to browser security.
  I would not want to violate the security of the browser and the application to access the file.</p>
  <p>The option according to which the user loads the template himself is a little inconvenient, you have to do a lot of unnecessary actions</p>
  <p><a href="https://github.com/exceljs/exceljs/issues/832#issuecomment-495455990" rel="nofollow noreferrer">Link to solution on https://github.com/</a></p>
  <p>at the same time I found a solution for Word using package: docxtemplater - it uses JSZipUtils
  and the example with Word works fine, however the module for xlsx is very expensive for me</p>
  <pre><code>loadFile(url, callback) {
    JSZipUtils.getBinaryContent(url, callback);
  },
  
  this.loadFile(&quot;/Word.docx&quot;, function(error, content) {
        if (error) {
          throw error;
        }
        var zip = new JSZip(content);
        var doc = new Docxtemplater();
        doc.loadZip(zip);
        //... getting data from the database and inserting it into the Word template
      });
  </code></pre>
  <p>Is it possible to somehow use the JSZipUtils package to implement access to Excel? or have
  another way is it different to get an instance of a static file without violating security?</p>