Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

268
Views
I'm having a problem about use vue-xlsx. More specifically I followed the documentation but got a 404 error

These are errors:

  1. GET http://eprofile.local/js/node_modules_xlsx_xlsx_js.js net::ERR_ABORTED 404 (Not Found)
  2. Uncaught (in promise) ChunkLoadError: Loading chunk node_modules_xlsx_xlsx_js failed.

The function I am doing is that when I enter an Excel file into the input, the excel sheet will be displayed on the interface.

My template tag

    <template>
        <div>
            <div class="form-group">
               <label class="form-label">Excel File</label>
               <input class="form-control" type="file" @change="onFileChange">
            </div>

            <xlsx-read :file="file">
               <xlsx-table></xlsx-table>
            </xlsx-read>
       </div>
    </template>

This is script tag

<script>
    import { XlsxRead, XlsxTable } from "vue-xlsx/dist/vue-xlsx.es.js";
    export default {
        components: {
            XlsxRead,
            XlsxTable
        },
        data() {
            return {
                file: null
            };
        },
        methods: {
            onFileChange(e) {
                this.file = e.target.files ? e.target.files[0] : null;
            },
        },
    };
</script>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!