R
R
Richard Millie2019-10-07 13:04:15
Internet Explorer
Richard Millie, 2019-10-07 13:04:15

How to set vue.js project compatibility for IE 11?

Actually a subject. Babel doesn't help.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
K
Kirill Romanov, 2019-10-07
@Djaler

You need to transpile not only your code, but also the vuetify code:

// vue.config.js

module.exports = {
  transpileDependencies: ['vuetify']
}

This is stated in the vuetify doc - https://vuetifyjs.com/en/getting-started/quick-sta...

R
Richard Millie, 2019-10-15
@comewithme38

I finally got it to work, the answer from Kirill Romanov was very helpful.
What to do:
1) install [email protected]
npm install [email protected]
2) edit main.js like this:

import 'core-js/stable'
    import Vue from 'vue'
    import '@/plugins/vuetify'
    {...}

3) edit babel.config.js
module.exports = {
      presets: [
        ['@vue/app', { useBuiltIns: 'entry' }]
      ]
    }

#
#FFFFFF, 2019-10-07
@victory_vas

you can also try to include it @babel/polyfillin main.js if you haven't already done so

A
Andrey Chirkov, 2020-10-20
@andreichirkov

The article that helped me solve my compatibility issue:
https://jacklyons.me/how-to-fix-vuejs-not-working-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question