Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

271
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda