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

124
Views
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
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!