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

438
Views
Uncaught TypeError: window.Vue.use is not a function in Vue 2

I have a project working with Vue.js for a long time. Recently an error appeared without me doing anything:

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)

this is my main.js code in Vue CLI 4.5.13 vesion :

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')

Does anybody know how to solve this?

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

0

Recently an error appeared without me doing anything:

Maybe you installed Vue@3 instead of 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!