m0dch3n / vue-cli-plugin-cordova

Vue Cli 3 Cordova Plugin
MIT License
417 stars 63 forks source link

Uncaught SyntaxError: Use of const in strict mode on Android <7.0 #55

Closed kroegen closed 5 years ago

kroegen commented 5 years ago

Steps to reproduce:

m0dch3n commented 5 years ago

Does this happen with standard vue app?

Or is your app already modified ? Are others plugins like vuetify added i.e ?

The standard vuejs should be compatible with android <7.0. However vuetify i.e is not and you need polyfill...

Take a look i.e. https://github.com/m0dch3n/vue-cli-plugin-cordova/issues/37

m0dch3n commented 5 years ago

https://github.com/vuejs-templates/webpack/issues/1253

kroegen commented 5 years ago

Does this happen with standard vue app?

Or is your app already modified ? Are others plugins like vuetify added i.e ?

The standard vuejs should be compatible with android <7.0. However vuetify i.e is not and you need polyfill...

Take a look i.e. #37

I just checked with standard vue app and everything worked No, I didn't use vuetify or other plugins, but now I see where to go next It should be something with some of dependencies

m0dch3n commented 5 years ago

I guess you need to polyfill or babelify some of your modifications, good luck!