caiobiodere / cordova-template-framework7-vue-webpack

Framework7 - Vue - Webpack Cordova Template with Webpack Dev Server and Hot Module Replacement
Apache License 2.0
620 stars 154 forks source link

Add Template, add platform , run and error at device #98

Closed edoofx closed 6 years ago

edoofx commented 6 years ago
  1. cordova create testcreate com.testcreate testcreate --template https://github.com/caiobiodere/cordova-template-framework7-vue-webpack
  2. cd testcreate
  3. npm i
  4. remove line 46 at webpack.config
  5. cordova platform add android
  6. cordova run android --device

and voila. white screen at device , but work on browser

and at console say : Uncaught SyntaxError: Use of future reserved word in strict mode

i check , error at let theme = 'auto'; , and i change into 'md' . same. whitescreen

caiobiodere commented 6 years ago

hey @edoofx why are you removing line 46? I created that to run on android devices that are using API 23 :)

I did the same things you made and everything is running here. Could you check your npm, node and cordova versions?

Npm version: 5.6.0 Node version: 8.9.4 Cordova version: 8.0.0 cordova-android version: 7.0.0

screen shot 2018-03-06 at 12 20 27 pm
edoofx commented 6 years ago

hey @caiobiodere .. why removing line 46 ? because i cant run.. like at tab issues .. Npm version: 5.6.0 Node version: 8.9.4 Cordova version: 6.5.0 cordova-android version: 6.1.2

now i know the problem..

if cordova@7.0.0 . this is can run .

thanks for the answer..

caiobiodere commented 6 years ago

Awesome, good job 👍