require-vue not working when run cordova app in IOS
See original GitHub issueEverything working fine except IOS.
Error: Load timeout for modules: vue!components/test.vue_unnormalized2,vue!components/test.vue http://requirejs.org/docs/errors.html#timeout
var asyncComp = function (componentName) {
return function (resolve) {
require([componentName], resolve);
};
};
var router = new VueRouter({
routes: [
{path: "", name: test", component: asyncComp("vue!components/test")}
]
});
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Cordova: app not working anymore on ios since few months ...
Run a build of your app under the Xcode debugger with the main thread checker enabled and see where the crash occurs. –...
Read more >Debugger does nothing when attaching to iOS device #561
At first, I run the app from the cordova_app folder and then attach to it with Attach to running iOS on device debug...
Read more >iOS Platform Guide - Apache Cordova
The ios-deploy tools allow you to launch iOS apps on an iOS Device from the command-line. Install ios-deploy via Homebrew by running: $...
Read more >[Done]-Vue can't listen to Cordova events - appsloveworld
I am trying to build a hybrid-app with Cordova . I am using VueJS for routing and AJAX requests. Unfortunately I am not...
Read more >Will Cordova applications that dow… | Apple Developer Forums
In the Developer Agreement (maybe section 3.3.2), there is an explicit exception to the prohibition against running downloaded code, allowing JavaScript run ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you want, you can use this version for now: developer/require-vuejs.js , but i steel working to improve timeout and general script handler.
@edgardleal
I found the issue in your code which is making http call for pulling vue component
Change this.readystate to xhttp.readyState.
this.readyState causing issue in ios hybrid app(cordova).