VUE CLI-3 Project not working on IE-11

I finally ended up with the solution of above issue. To run project on IE-11 version just follow the 2 steps:

  1. Install babel-polyfill using command “npm install –save babel-polyfill”.
  2. Import babel-polyfill in your main.js or index.js file at the top of above all imported packages. For e.g Here is your main.js file.

Note: If you import babel-polyfill at the end it does’t work.

import 'babel-polyfill'  
import Vue from 'vue'
import Vuetify from 'vuetify'

import router from './router'
// include script file
import './lib/DemoScript'

// include all css files
import './lib/DemoCss'

Vue.use(Vuetify)

new Vue({
    store,
    router,
    render: h => h(App),
    components: { App }
}).$mount('#app')

Leave a Comment