Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

274
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda