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

439
Views
TypeError no detectado: window.Vue.use no es una función en Vue 2

Tengo un proyecto trabajando con Vue.js durante mucho tiempo. Recientemente apareció un error sin que yo hiciera nada:

 Uncaught TypeError: window.Vue.use is not a function at eval (vue-router.esm.js?8c4f:2926:1) at Module../node_modules/vue-router/dist/vue-router.esm.js (chunk-vendors.js:5601:1) at __webpack_require__ (app.js:854:30) at fn (app.js:151:20) at eval (index.js:7:68) at Module../src/router/index.js (app.js:1414:1) at __webpack_require__ (app.js:854:30) at fn (app.js:151:20) at eval (main.js:15:65) at Module../src/main.js (app.js:1390:1)

este es mi código main.js en la versión Vue CLI 4.5.13:

 import Vue from 'vue' import BootstrapVue from 'bootstrap-vue' import store from './store' import App from './App.vue' import './registerServiceWorker' import router from './router' import '@fortawesome/fontawesome-free/css/all.css' import '@fortawesome/fontawesome-free/js/all.js' import 'es6-promise/auto' import FirebaseApp from './firebase' import './assets/css/main.scss' Vue.use(BootstrapVue) Vue.use(FirebaseApp) Vue.config.productionTip = false /* Vue.use(VueClipboards) */ new Vue({ router, store, render: h => h(App) }).$mount('#app')

¿Alguien sabe cómo solucionar esto?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Recientemente apareció un error sin que yo hiciera nada:

¿Quizás instaló Vue@3 en lugar de Vue@2.6.14?

about 4 years ago · Juan Pablo Isaza Report
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!