Demo not working in simulator
sylzys opened this issue · 10 comments
你好,
I've been looking at your app HiApp on github, really helped me getting familiar with framework7.
I've been running gulp build
, but I still don't get any content (besides navbar and tabbar) when I launch the app in the iOS simulator. Same goes if I use cordova build ios
Everything goes well when i launch gulp build-dev
and use webpack-server in a browser.
Am I missing something here ? :(
谢谢你!
App is not working neither when I use local webserver instead of webpack-server :(
Hi, Can you provide some debugging information from Console?
Maybe you can use GapDebug to get the debugging information from iOS simulator as Chrome Console. :)
Hi, Maybe I can find some bug from compiled files, please pack www
folder, and upload here.
Here is the www folder : http://jingleweb.fr/tmp/HiAppWWW.tgz
Thanks !
The "unknown property 'type' of undefined "error" came from the fact that I didn't have cordova-plugin-network-information
plugin installed, so using a device or a simulator, navigator.connection
did not exist (var used in networkStatus.js l.4)
That being said, I think there are a few problems in the gulp/webpack config, because some files are not copied, some are removed...
I created a task "copy" where I moved every fse.copySync requests, and run it before build-dev. After that, cordova run is working 👍
Thanks for your good work !
I am so sorry, this is the first time I have used webpack
to build a project.
FIS is very popular in China, I am more familiar with it.
But unfortunately, It is missing English document.
Maybe I should spend more time to learn webpack
. : )
嘿,没问题!
你的APP很好,帮了我很多 :)
如果我用Webpack有进步,我告诉你:)
谢谢!
Closing (inactivity)