Closed cemarta7 closed 5 years ago
Ok I was able to make it work with Cordova 8.1.2 and these two templates.
cordova create cordova-template com.template DefaultTemplate --template git://github.com/caiobiodere/cordova-template-framework7-vue-webpack.git#master
and
cordova create cordova-template com.template DefaultTemplate --template git://github.com/caiobiodere/cordova-template-framework7-vue-webpack.git#feature/v3-default-template v3 main.js has to be import Framework7CSS from 'framework7/css/framework7.min.css';
this one
cordova create
I'm still having issues on another project so trying to compare.
Ok, find the issue. `
I used push-state true for web but when true on android or iphone was not loading. so I have to add
this.$f7router.navigate('/');` on main.vue so it pushes the first page.
So I have a fresh install and I get a white screen on android and on ios.
cordova 9.0.0 (cordova-lib@9.0.1) npm 6.9.0 node v11.0.0
package.json "dependencies": { "@fortawesome/fontawesome-free": "^5.8.2", "cordova-android": "^8.0.0", "cordova-browser": "^5.0.4", "cordova-ios": "^5.0.1", "fastclick": "^1.0.6", "framework7": "^3.6.5", "framework7-icons": "^2.1.1", "framework7-vue": "^3.6.5", "loglevel": "^1.4.1", "material-design-icons": "^3.0.1", "q": "^1.5.1", "vue": "^2.6.10", "vuex": "^3.1.1" },
config.xml `<?xml version='1.0' encoding='utf-8'?>