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

125
Visualizações
Webpack Vue project initializes using window.Vue

I have a plugin for a website (WordPress) I built using webpack (loading esm build), for some reason instead of initializing using my webpack generated vue, it initializes using the full Vue build also loaded on the page (which i do not have control over).

Is there any way that I can prevent this from happening since I don’t have control over the site or what else is being loaded on the page?

I have webpack generating a vendors.js file that includes vue and vuex, but for some reason it always ends up using the full Vue build loaded on the page.

My guess is it's because the full build of Vue loads into the global namespace, so maybe webpack detects Vue already existing and uses that instead of my vendors webpacked file (which is loaded on the page)

Any suggestions, thoughts, or ideas on what I can do about this?

Thanks!

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