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

130
Vistas
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 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