cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cordova-plugin-wkwebview-engine] elmartino commented on issue #143: Blank screen after using plugin-wkwebview-engine
Date Wed, 22 Apr 2020 13:55:17 GMT

elmartino commented on issue #143:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/143#issuecomment-617794065


   I had the same problem with my Angular8+ app. I ended up using hash routing for mobile
devices:
   `RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules, useHash: true }),`
   
   and the following line in index.html
   `<script>document.write('<base href="' + document.location + '" />');</script>`
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message