katzenjunge commented on issue #143:
URL:
https://github.com/apache/cordova-plugin-wkwebview-engine/issues/143#issuecomment-716701378
> 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>`
> (instead of `<base href='/'>`)
Thank you so much! I did not have the `useHash: true` before, adding it
solved the issue for me.
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]