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

106
Views
Webpack create Vue 3 and Vue 2 Application from the same file structure

I built a vue 3 application that gets delivered to the end user via an API that detects the useragent and serves the best fitting version. This works great, but when it comes to IE 11 vue 3 is known to not work there.

Now theres @vue/composition-api which is able to allow me porting all functionality to a lower level build.

My question is now: How can i tell webpack to import stuff like reactive, ref, watch and so on from @vue/composition-api and other stuff directly from vue-2 when calling

// example
import {
  createApp, //  => vue
  ref // => @vue-composition
} from 'vue';
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!