Vuetify: New Vuetify app in vue cli 3 won't render in IE11

Created on 8 Nov 2018  路  2Comments  路  Source: vuetifyjs/vuetify

I followed https://vuetifyjs.com/en/getting-started/quick-start#ie11-support after adding Vuetify from my vue app created from vue cli3. However arrow function in main.js e.g. render: h => h(App) is not transpiled properly so it didn't work on IE 11. Function shorthands in App.js and HelloWorld.js was also not transpiled properly.

I also imported a file whose export defaul is a es6 class and it didn't work as well.

duplicate

Most helpful comment

@KaelWD I did modify my vue.config.js to look like this

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

now I'm getting errors Cannot assign to read only property 'exports' of object '#

All 2 comments

@KaelWD I did modify my vue.config.js to look like this

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

now I'm getting errors Cannot assign to read only property 'exports' of object '#

Was this page helpful?
0 / 5 - 0 ratings